From c278523dc1dcb99537d1e119421e1dfbfe8e06be Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Wed, 8 Nov 2023 12:55:58 +0000 Subject: [PATCH] Reduce duplicate in survey research This reduces duplication by using a single view for the research content, with an optional argument for showing the extra content that was visible on one page. --- .../_help_us_to_improve_this_service.html.erb | 8 ++++++++ .../application_forms/show/_complete.html.erb | 16 +--------------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/app/views/shared/_help_us_to_improve_this_service.html.erb b/app/views/shared/_help_us_to_improve_this_service.html.erb index 4f797de9d3..901403c911 100644 --- a/app/views/shared/_help_us_to_improve_this_service.html.erb +++ b/app/views/shared/_help_us_to_improve_this_service.html.erb @@ -1,6 +1,14 @@ +<% show_feedback ||= false %> +