From 7eb9fe8585239dfb11f4478ff3edc718f39cffa7 Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Tue, 17 Oct 2023 16:30:24 +0100 Subject: [PATCH] Made changes following product review --- .../further_information_requests/preview.html.erb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/app/views/assessor_interface/further_information_requests/preview.html.erb b/app/views/assessor_interface/further_information_requests/preview.html.erb index e060c2741a..dd3032cb9b 100644 --- a/app/views/assessor_interface/further_information_requests/preview.html.erb +++ b/app/views/assessor_interface/further_information_requests/preview.html.erb @@ -1,19 +1,12 @@ <% content_for :page_title, "Check the further information you’re asking the applicant for" %> <% content_for :back_link_url, edit_assessor_interface_application_form_assessment_path(@application_form, @assessment) %> -

- Check the information you’re asking the applicant for -

- -

This screen shows your reasons for requesting further information, along with your notes to the applicant.

-

If you need to change your notes, you’ll need to go back to the relevant section.

- -

Your further information request reasons and notes

+

Check the information you’re asking the applicant for

<% @further_information_request.items.group_by(&:failure_reason_key).each do |failure_reason_key, items| %> <% if failure_reason_key == "school_details_cannot_be_verified" %>
-

Reason for request

+

Reason for request

<% if items.size == 1 %>

We were unable to verify the details for <%= items.first.work_history.school_name %>.

<% else %> @@ -24,7 +17,7 @@ <% end %> <% end %> -

Note to applicant

+

Note to applicant

<%= govuk_inset_text do %> <%= simple_format items.first.failure_reason_assessor_feedback %>