|
|
@ -3,7 +3,7 @@ |
|
|
|
hint: { text: question["hint_text"] } do %> |
|
|
|
hint: { text: question["hint_text"] } do %> |
|
|
|
|
|
|
|
|
|
|
|
<% question["answer_options"].map do |key, val| %> |
|
|
|
<% question["answer_options"].map do |key, val| %> |
|
|
|
<% if key == "divider" %> |
|
|
|
<% if key.starts_with?("divider") %> |
|
|
|
<%= f.govuk_check_box_divider %> |
|
|
|
<%= f.govuk_check_box_divider %> |
|
|
|
<% else %> |
|
|
|
<% else %> |
|
|
|
<%= f.govuk_check_box question_key, key, label: { text: val } %> |
|
|
|
<%= f.govuk_check_box question_key, key, label: { text: val } %> |
|
|
|