From 1df3d2105f5f111930d6bc111415cf063451e145 Mon Sep 17 00:00:00 2001 From: kiddhustle Date: Wed, 27 Apr 2022 10:11:49 +0100 Subject: [PATCH] CLDC-1176: date hint text --- app/views/form/_date_question.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/form/_date_question.html.erb b/app/views/form/_date_question.html.erb index c9862037d..1778e5674 100644 --- a/app/views/form/_date_question.html.erb +++ b/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) %>