Sha256: 236d1859553211c329e12c0341b8d6ec1644a83557c9247a59fedebea843d751
Contents?: true
Size: 877 Bytes
Versions: 30
Compression:
Stored size: 877 Bytes
Contents
-# frozen_string_literal: true - if question.blank? %th.option{class: os_cycle, colspan: colspan} - else -#TODO: if a hidden option is checked it should get its own new scale header - cls = ['scaleheader'] - if question.score_header == :question_description %th.option{title: strip_tags(question.description), class: cls, colspan: colspan, data: {for: question.key}} = Quby::MarkdownParser.new(question.description).html_safe - else - question.options.each do |option| - next if (option.inner_title or option.hidden) %th.option{title: strip_tags(option.description), class: cls, data: {for: question.key}} -#= raw cycle("<br/>", "", :name => "headbr" ) - case question.score_header - when :value = option.value - when :description = Quby::MarkdownParser.new(option.description).html_safe
Version data entries
30 entries across 30 versions & 1 rubygems