From 822b07df105a8830a3fc3a9076f5ae102728157d Mon Sep 17 00:00:00 2001
From: Ted-U <92022120+Ted-U@users.noreply.github.com>
Date: Fri, 12 Aug 2022 16:20:34 +0100
Subject: [PATCH] Delete check_answers_summary_list_card_component.html.erb
---
...swers_summary_list_card_component.html.erb | 25 -------------------
1 file changed, 25 deletions(-)
delete mode 100644 app/components/check_answers_summary_list_card_component.html.erb
diff --git a/app/components/check_answers_summary_list_card_component.html.erb b/app/components/check_answers_summary_list_card_component.html.erb
deleted file mode 100644
index c93f28b60..000000000
--- a/app/components/check_answers_summary_list_card_component.html.erb
+++ /dev/null
@@ -1,25 +0,0 @@
-
-<%= govuk_summary_list do |summary_list| %>
- <% applicable_questions.each do |question| %>
- <% summary_list.row do |row| %>
- <% row.key { question.check_answer_label.to_s.presence || question.header.to_s } %>
- <% row.value do %>
- <%= get_answer_label(question) %>
- <% extra_value = question.get_extra_check_answer_value(case_log) %>
- <% if extra_value %>
- <%= extra_value %>
- <% end %>
-
- <% question.get_inferred_answers(case_log).each do |inferred_answer| %>
- <%= inferred_answer %>
- <% end %>
- <% end %>
- <% row.action(
- text: question.action_text(case_log),
- href: question.action_href(case_log, question.page.id),
- visually_hidden_text: question.check_answer_label.to_s.downcase,
- ) %>
- <% end %>
- <% end %>
-<% end %>
-