|
|
|
@ -3,7 +3,7 @@ |
|
|
|
<%= f.govuk_date_field question.id.to_sym, |
|
|
|
<%= f.govuk_date_field question.id.to_sym, |
|
|
|
caption: caption(caption_text, page_header, conditional), |
|
|
|
caption: caption(caption_text, page_header, conditional), |
|
|
|
legend: legend(question, page_header, conditional), |
|
|
|
legend: legend(question, page_header, conditional), |
|
|
|
hint: { text: question.hint_text&.html_safe || "For example, 1 9 2022." }, |
|
|
|
hint: { text: question.hint_text&.html_safe || "For example, #{Time.zone.today.to_formatted_s(:govuk_date_number_month)}" }, |
|
|
|
width: 20, |
|
|
|
width: 20, |
|
|
|
**stimulus_html_attributes(question) do %> |
|
|
|
**stimulus_html_attributes(question) do %> |
|
|
|
<%= govuk_inset_text(text: question.unresolved_hint_text) if question.unresolved_hint_text.present? && @log.unresolved %> |
|
|
|
<%= govuk_inset_text(text: question.unresolved_hint_text) if question.unresolved_hint_text.present? && @log.unresolved %> |
|
|
|
|