10 lines
482 B
10 lines
482 B
<%= render partial: "form/guidance/#{question.guidance_partial}" if question.top_guidance? %> |
|
|
|
<%= f.govuk_date_field question.id.to_sym, |
|
caption: caption(caption_text, page_header, conditional), |
|
legend: legend(question, page_header, conditional), |
|
hint: { text: question.hint_text&.html_safe || "For example, 1 9 2022." }, |
|
width: 20, |
|
**stimulus_html_attributes(question) %> |
|
|
|
<%= render partial: "form/guidance/#{question.guidance_partial}" if question.bottom_guidance? %>
|
|
|