Sha256: 19fc8aeb954c24fc4d47cf07b27a4f3e0c2a5a3095b0c93c682291c32f378e98

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

<% locked = text_field.locked?(params, @answer_sheet, @presenter) %>
<%= text_field_tag "answers[#{text_field.id}]", text_field.response(@answer_sheet),
      :class => "text #{text_field.question_grid_id.present? ? "col_#{text_field.question_grid_id}_#{col}" : ''}" + text_field.validation_class(@answer_sheet),
      :id => dom_id(text_field),
      :disabled => locked,
      :readonly => locked,
      :maxlength => text_field.max_length.to_i > 0 ? text_field.max_length : 255 %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fe-0.0.4 app/views/fe/questions/fe/_text_field.html.erb
fe-0.0.3 app/views/fe/questions/_text_field.html.erb