kosiakkatrina
3 years ago
committed by
GitHub
10 changed files with 17 additions and 12 deletions
@ -1,6 +1,6 @@
|
||||
<%= f.govuk_date_field question.id.to_sym, |
||||
hint: { text: question.hint_text }, |
||||
legend: { text: question.header.html_safe, size: "l"}, |
||||
legend: { text: question.header.html_safe, size: page_header.nil? ? "l" : "m", tag: page_header.nil? ? "h2" : "h1" }, |
||||
width: 20, |
||||
**stimulus_html_attributes(question) |
||||
%> |
||||
|
@ -1,6 +1,6 @@
|
||||
<%= f.govuk_text_field question.id.to_sym, |
||||
hint: { text: question.hint_text }, |
||||
label: { text: question.header.html_safe, size: "l"}, |
||||
label: { text: question.header.html_safe, size: page_header.nil? ? "l" : "m", tag: page_header.nil? ? "h2" : "h1" }, |
||||
width: 20, |
||||
**stimulus_html_attributes(question) |
||||
%> |
||||
|
Loading…
Reference in new issue