Sha256: 0e0f27dca1e7a83cd7a9f1fa752fd5d2bc7538e562815d08716139fdce8d9092

Contents?: true

Size: 698 Bytes

Versions: 6

Compression:

Stored size: 698 Bytes

Contents

-# frozen_string_literal: true
%label.main(for="answer_#{question.key}")
  = render :partial => "quby/v1/shared/main_label", :locals => {:question => question} || raw(" ")
.description-and-fields
  .description
    - unless question.description.blank?
      = Quby::MarkdownParser.new(question.description).html_safe
  .fields{:id => question.html_id}
    - cls = [question.type]
    - cls << "subinput"  if subquestion
    - cls << question.as if question.as
    = text_field :answer, question.key, :autocomplete => question.autocomplete, :class => cls, :disabled => (disabled ? "" : nil), :size => (question.size || 30), data: {"field-key" => question.key}
    %span.unit= raw question.unit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
quby-4.0.1 app/views/quby/v1/bulk/_item_question_number.html.haml
quby-4.0.0 app/views/quby/v1/bulk/_item_question_number.html.haml
quby-3.2.2 app/views/quby/v1/bulk/_item_question_number.html.haml
quby-3.2.1 app/views/quby/v1/bulk/_item_question_number.html.haml
quby-3.2.0 app/views/quby/v1/bulk/_item_question_number.html.haml
quby-3.2.0.pre.pre1 app/views/quby/v1/bulk/_item_question_number.html.haml