From ce533d3597a6d5111f3e523bd32acfc0a1ddf57c Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Mon, 7 Feb 2022 12:29:36 +0000 Subject: [PATCH] Incfreq doesn't have it's own check answers display --- app/views/form/_check_answers_table.html.erb | 3 --- config/forms/2021_2022.json | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/form/_check_answers_table.html.erb b/app/views/form/_check_answers_table.html.erb index 945e90085..4a2b7183a 100644 --- a/app/views/form/_check_answers_table.html.erb +++ b/app/views/form/_check_answers_table.html.erb @@ -1,5 +1,3 @@ - -<% unless question.id == "incfreq" %>
<%= question.check_answer_label.to_s.present? ? question.check_answer_label.to_s : question.header.to_s %> @@ -14,4 +12,3 @@ <%= govuk_link_to(question.update_answer_link_name(@case_log), "/logs/#{@case_log.id}/#{question.page.id.to_s.dasherize}").html_safe %>
-<% end %> diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 34d753d07..5f5880dbf 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -2336,7 +2336,8 @@ "0": "Weekly", "1": "Monthly", "2": "Yearly" - } + }, + "hidden_in_check_answers": true } }, "soft_validations": {