Browse Source

Update to 2 line breaks

pull/2107/head
Rachael Booth 2 years ago
parent
commit
d25afd282b
  1. 2
      app/views/form/_date_question.html.erb

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

@ -3,7 +3,7 @@
<%= 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.nil? ? "" : (question.hint_text.html_safe + "<br>".html_safe)) + "For example, #{date_mid_collection_year_formatted(lettings_log.startdate)}" },
hint: { text: (question.hint_text.nil? ? "" : (question.hint_text.html_safe + "</br></br>".html_safe)) + "For example, #{date_mid_collection_year_formatted(lettings_log.startdate)}" },
width: 20,
**stimulus_html_attributes(question) do %>
<%= govuk_inset_text(text: question.unresolved_hint_text) if question.unresolved_hint_text.present? && @log.unresolved %>

Loading…
Cancel
Save