Browse Source
* Render html from questions with example * Render html for all question typespull/35/head
kosiakkatrina
3 years ago
committed by
GitHub
6 changed files with 6 additions and 6 deletions
@ -1,5 +1,5 @@ |
|||||||
<%= f.govuk_date_field question_key, |
<%= f.govuk_date_field question_key, |
||||||
hint: { text: question["hint_text"] }, |
hint: { text: question["hint_text"] }, |
||||||
legend: { text: question["header"], size: "l"}, |
legend: { text: question["header"].html_safe, size: "l"}, |
||||||
width: 20 |
width: 20 |
||||||
%> |
%> |
||||||
|
@ -1,5 +1,5 @@ |
|||||||
<%= f.govuk_number_field question_key, |
<%= f.govuk_number_field question_key, |
||||||
hint: { text: question["hint_text"] }, |
hint: { text: question["hint_text"] }, |
||||||
label: { text: question["header"], size: "l"}, |
label: { text: question["header"].html_safe, size: "l"}, |
||||||
min: question["min"], max: question["max"], step: question["step"], width: 20 |
min: question["min"], max: question["max"], step: question["step"], width: 20 |
||||||
%> |
%> |
||||||
|
@ -1,5 +1,5 @@ |
|||||||
<%= f.govuk_text_field question_key, |
<%= f.govuk_text_field question_key, |
||||||
hint: { text: question["hint_text"] }, |
hint: { text: question["hint_text"] }, |
||||||
label: { text: question["header"], size: "l"}, |
label: { text: question["header"].html_safe, size: "l"}, |
||||||
width: 20 |
width: 20 |
||||||
%> |
%> |
||||||
|
Loading…
Reference in new issue