% locked = date_field.locked?(params, @answer_sheet, @presenter, current_person) %> <%= calendar_date_select_tag "answers[#{date_field.id}]", date_field.format_date_response(@answer_sheet), class: "#{"form-control" if Fe.bootstrap} text " + date_field.validation_class(@answer_sheet, @page), id: dom_id(date_field), disabled: locked, readonly: true %>