Sha256: 4855a3c4c0af691079cf95dffe929ebedc8ad7fbd98ac29fe484277aa7392a47
Contents?: true
Size: 901 Bytes
Versions: 33
Compression:
Stored size: 901 Bytes
Contents
-# frozen_string_literal: true = render :partial => "quby/v1/shared/main_label", :locals => {:question => question} .description-and-fields .fields{:id => question.html_id} - question.options.each do |opt| - next if opt.inner_title - checked = @answer.send(opt.key) == 1 - next if( not checked) - show_values = question.show_values_in_mode? :paged .option{:class => show_values ? "show_values" : nil} .labelwrapper - if show_values .value= opt.value %label{for: opt.view_id} %span -unless opt.description.blank? = Quby::MarkdownParser.new(opt.description).html_safe - else Aangevinkt - unless opt.questions.empty? .subquestions= render :partial => "quby/v1/print/item", :collection => opt.questions, :locals => {:subquestion => true}
Version data entries
33 entries across 33 versions & 1 rubygems