Browse Source

Merge pull request #519 from communitiesuk/bug/cldc-1176-date-hint-text

CLDC-1176: date hint text
pull/530/head
Kidd Hustle 3 years ago committed by GitHub
parent
commit
529acc5fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/form/_date_question.html.erb

2
app/views/form/_date_question.html.erb

@ -3,6 +3,6 @@
<%= 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 },
hint: { text: question.hint_text&.html_safe || "For example, 27 3 2021." },
width: 20,
**stimulus_html_attributes(question) %>

Loading…
Cancel
Save