app/helpers/trainings_helper.rb
# Returns the HTML for the TrainingController#printout() action of the specified
# Training instance, but only if the current user can access its contents.
#
# Assumes training is a valid Training instance.
#
Returns the HTML for the TrainingController#printout() action of the specified
Training instance, but only if the current user can access its contents.

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