Sha256: 18a9b3a098111722d84b1e3ad018a6a9320ba134de711434c72c7a438d6ac8cf

Contents?: true

Size: 702 Bytes

Versions: 35

Compression:

Stored size: 702 Bytes

Contents

-# frozen_string_literal: true
- available_width = question.presentation == :horizontal ? 100 : 66
- classes = [os_cycle]
- classes << question.question_group if question.question_group
- itemkey = "item_#{question.key}"
%td.item{:id => itemkey, :class => classes, :style => "width:#{available_width/(table.columns)}%", :rowspan => question.row_span, :colspan => question.col_span, :data => question.extra_data}
  .fields{:class => question.type, :id => question.html_id}
    = text_area :answer, question.key, :rows => question.lines, :cols => question.cols, :autocomplete => question.autocomplete, :class => question.type, :data => {'field-key' => question.key}, :maxlength => 5000
    = validations

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
quby-5.0.1 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-5.0.0 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-4.0.4 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-5.0.0.pre4 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-5.0.0.pre3 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-5.0.0.pre2 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-5.0.0.pre1 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-4.0.3 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-4.0.2 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-4.0.1 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-4.0.0 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-3.2.2 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-3.2.1 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-3.2.0 app/views/quby/v1/table/_item_question_textarea.html.haml
quby-3.2.0.pre.pre1 app/views/quby/v1/table/_item_question_textarea.html.haml