Sha256: ec90418e6dda599dccb71b6f3913512f4c8e80abd690c0ecbeaaf7ed8c998414

Contents?: true

Size: 907 Bytes

Versions: 33

Compression:

Stored size: 907 Bytes

Contents

-# frozen_string_literal: true
:javascript
  window.panel_validations = {};
  //for setting values of raw_content
  window.extra_question_values = #{raw @answer.extra_question_values};
  // for showing validations of raw content
  window.extra_failed_validations = #{raw @answer.extra_failed_validations};

- content_for(:extra_css, raw(@questionnaire.extra_css))

%h1=@questionnaire.title

- previous_item = nil
= form_tag "", :method => :put, :class => [@questionnaire.key, "print"].join(" "), :autocomplete => "off", id: 'questionnaire-form' do
  - @questionnaire.panels.each_with_index do |panel, panel_counter|
    - panel.items.each_with_index do |item, idx|
      = render :partial => "quby/v1/print/item", :object => item, :locals => { :item_counter => idx, :items => panel.items, :previous_item => previous_item}
      - previous_item = item if item.is_a? Quby::Questionnaires::Entities::Question

Version data entries

33 entries across 33 versions & 1 rubygems

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