Module: ExamRegistrationHelper
- Defined in:
- app/helpers/exam_registration_helper.rb
Instance Method Summary collapse
Instance Method Details
#exam_registration_view ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/helpers/exam_registration_helper.rb', line 2 def exam_registration_view if @registration.ended? { icon: :times_circle, class: :danger, t: :exam_registration_finished_html } else { icon: :info_circle, class: :info, t: :exam_registration_explanation_html } end end |