app/helpers/user_trainings_helper.rb
# Returns the HTML for the UserTrainingController#index() action.
#
Returns the HTML for the UserTrainingController#index() action.
Returns the HTML for the UserTrainingController#index () action .
def link_to_user_trainings()
    link_to( user_trainings_path(), class: 'btn btn-default' ) do
      image_tag('page_find.png') << "&nbsp; #{ I18n.t(:back_to_index_view) }".html_safe
    end
  end
def link_to_user_trainings ( ) link_to ( user_trainings_path ( ) , class : 'btn btn-default' ) do image_tag ( 'page_find.png' ) << "&nbsp; #{ I18n.t(:back_to_index_view) }" . html_safe end end
Returns the HTML for the UserTrainingController#index() action.
Returns the HTML for the UserTrainingController#index () action .