<% locked = text_field.locked?(params, @answer_sheet, @presenter, current_person) %> <%= text_field_tag "answers[#{text_field.id}]", text_field.response(@answer_sheet), class: "#{"form-control" if Fe.bootstrap} text #{text_field.css_class} #{text_field.question_grid_id.present? ? "col_#{text_field.question_grid_id}_#{col}" : ""}" + text_field.validation_class(@answer_sheet, @page), id: dom_id(text_field), disabled: locked, autocomplete: "off", readonly: locked, maxlength: text_field.max_length.to_i > 0 ? text_field.max_length : 255 %>