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