From 668d97417bde3bd5fac0611d148560a4dbdf0f16 Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 24 Nov 2021 12:02:14 +0000 Subject: [PATCH] Merge branch 'main' into CLDC-696-markup --- app/views/form/_checkbox_question.html.erb | 1 - app/views/form/_radio_question.html.erb | 1 - 2 files changed, 2 deletions(-) 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 %>