Sha256: 692e1ba6ee7c90a25d0c47ca534f88faf62a0051a5b9a12e8687b7b2ced47d1b

Contents?: true

Size: 257 Bytes

Versions: 65

Compression:

Stored size: 257 Bytes

Contents

module AssistanceBoxHelper
  def assistance_box(assignment)
    if assignment.tips.present?
      %Q{<div class="mu-tips-box">
        #{Mumukit::Assistant::Narrator.random.compose_explanation_html assignment.tips}
      </div>}.html_safe
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
mumuki-laboratory-6.5.0 app/helpers/assistance_box_helper.rb
mumuki-laboratory-6.4.2 app/helpers/assistance_box_helper.rb
mumuki-laboratory-6.4.1 app/helpers/assistance_box_helper.rb
mumuki-laboratory-6.4.0 app/helpers/assistance_box_helper.rb
mumuki-laboratory-6.2.0 app/helpers/assistance_box_helper.rb