Sha256: 37aee458a9647929dd2f6ccd2d2afed50bf11aa38fe801e6a671e8c1c3f07f63

Contents?: true

Size: 288 Bytes

Versions: 8

Compression:

Stored size: 288 Bytes

Contents

module ExamRegistrationHelper
  def exam_registration_view
    if @registration.end_time.past?
      { icon: :times_circle, class: :danger, t: :exam_registration_finished_html }
    else
      { icon: :info_circle, class: :info, t: :exam_registration_explanation_html }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mumuki-laboratory-9.13.2 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.13.1 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.13.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.12.1 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.12.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.11.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.10.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.9.0 app/helpers/exam_registration_helper.rb