Sha256: 11c190cacf01384b15e256a1c77e062d01265422da502c64618bbd023437c460

Contents?: true

Size: 280 Bytes

Versions: 13

Compression:

Stored size: 280 Bytes

Contents

module ExamRegistrationHelper
  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
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mumuki-laboratory-9.23.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.22.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.21.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.20.1 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.20.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.19.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.18.1 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.18.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.17.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.16.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.15.0 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.14.1 app/helpers/exam_registration_helper.rb
mumuki-laboratory-9.14.0 app/helpers/exam_registration_helper.rb