Sha256: fd1c1bfef0ded56781069be08abdb9c8f00ec2e823b373d5f9bd7af6110791d0

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

<%= calendar_date_select_tag "answers[#{date_field.id}]", date_field.format_date_response(@answer_sheet),
      :class => 'text ' + date_field.validation_class(@answer_sheet),
      :id => dom_id(date_field),
      :disabled => @answer_sheet.frozen?&&!@presenter.reference?,
      :readonly => true %>
<div id="advice-validate-date-<%= dom_id(date_field) %>" class="validation-advice" style="display: none;">Please enter a valid date (MM/DD/YYYY).</div>
<div id="advice-required-<%= dom_id(date_field) %>" class="validation-advice" style="display: none;">This is a required field.</div>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
fe-0.0.4 app/views/fe/questions/fe/_date_field.html.erb
fe-0.0.3 app/views/fe/questions/_date_field.html.erb
questionnaire-0.0.2 app/views/qe/questions/qe/_date_field.html.erb