diff --git a/app/views/form/_checkbox_question.html.erb b/app/views/form/_checkbox_question.html.erb index 6d16052e5..f0a929203 100644 --- a/app/views/form/_checkbox_question.html.erb +++ b/app/views/form/_checkbox_question.html.erb @@ -1,7 +1,6 @@ <%= f.govuk_check_boxes_fieldset question.id.to_sym, legend: { text: question.header.html_safe, size: page_header.nil? ? "l" : "m", tag: page_header.nil? ? "h2" : "h1"}, hint: { text: question.hint_text } do %> - <% question.answer_options.map do |key, val| %> <% if key.starts_with?("divider") %> <%= f.govuk_check_box_divider %> diff --git a/app/views/form/_radio_question.html.erb b/app/views/form/_radio_question.html.erb index a922fc3e0..e4f28b068 100644 --- a/app/views/form/_radio_question.html.erb +++ b/app/views/form/_radio_question.html.erb @@ -2,7 +2,6 @@ legend: { text: question.header.html_safe, size: page_header.nil? ? "l" : "m", tag: page_header.nil? ? "h2" : "h1" }, hint: { text: question.hint_text }, small: (question.answer_options.size > 5) do %> - <% question.answer_options.map do |key, val| %> <% if key.starts_with?("divider") %> <%= f.govuk_radio_divider %>