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

Version Path
quby-5.6.5 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.6.3 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.6.2 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.6.1 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.6.0 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.5.0 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.4.0 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.3.1 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.3.0 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.2.0 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.1.3 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.1.2 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.1.1 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.1.0 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.0.5 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.0.4 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.0.3 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.0.2 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.0.1 app/views/quby/v1/print/_item_question_check_box.html.haml
quby-5.0.0 app/views/quby/v1/print/_item_question_check_box.html.haml