app/helpers/user_trainings_helper.rb
# Returns the HTML for the UserTrainingController#printout() action of the specified
# UserTraining instance, but only if the current user can access its contents.
#
# Assumes user_training is a valid UserTraining instance.
#
Returns the HTML for the UserTrainingController#printout() action of the specified
UserTraining instance, but only if the current user can access its contents.

Assumes user_training is a valid UserTraining instance.
Returns the HTML for the UserTrainingController#printout () action of the specified UserTraining instance but only if the current user can access its contents . Assumes user_training is a valid UserTraining instance .
def link_to_user_training_printout( user_training )
    link_to( user_training_printout_path(id: user_training.id), class: 'btn btn-default' ) do
      image_tag('page_white_acrobat.png') << "&nbsp; PDF".html_safe 
    end if check_user_training_visibility_for( user_training )
  end
def link_to_user_training_printout ( user_training ) link_to ( user_training_printout_path ( id : user_training . id ) , class : 'btn btn-default' ) do image_tag ( 'page_white_acrobat.png' ) << "&nbsp; PDF" . html_safe end if check_user_training_visibility_for ( user_training ) end
Returns the HTML for the UserTrainingController#printout() action of the specified
UserTraining instance, but only if the current user can access its contents.
Returns the HTML for the UserTrainingController#printout () action of the specified UserTraining instance but only if the current user can access its contents .
# Too long for grid: I18n.t('agex_action.download_pdf')
user_training
<not_specific>