Method: EffectiveCpdHelper#cpd_statement_submit_label
- Defined in:
- app/helpers/effective_cpd_helper.rb
#cpd_statement_submit_label(cpd_statement) ⇒ Object
85 86 87 88 89 90 91 92 93 |
# File 'app/helpers/effective_cpd_helper.rb', line 85 def cpd_statement_submit_label(cpd_statement) label = "Yes, I understand I will not be able to submit more #{cpd_credits_label} or modify any of my activities for this #{cpd_cycle_label}, once I submit." if (end_at = cpd_statement.cpd_cycle.end_at).present? label += " The last date to submit this form is #{end_at.strftime("%B %d, %Y")}." end label end |