From c083777c6d36cd522f67a7419abbceb08038e3ce Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Thu, 2 Nov 2023 06:40:10 +0000 Subject: [PATCH 1/2] 2365-spacing complete --- .../professional_standing_requests/edit_request.html.erb | 8 +++++--- .../review_verifications/index.html.erb | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/assessor_interface/professional_standing_requests/edit_request.html.erb b/app/views/assessor_interface/professional_standing_requests/edit_request.html.erb index e9e5878e81..9904f1f7f5 100644 --- a/app/views/assessor_interface/professional_standing_requests/edit_request.html.erb +++ b/app/views/assessor_interface/professional_standing_requests/edit_request.html.erb @@ -15,13 +15,15 @@
  • send the email to the relevant teaching authority
  • -

    +

    Do you want to mark this task as completed and come back after you have sent the email from Zendesk?

    <%= form_with model: @form, url: [:request, :assessor_interface, @application_form, @assessment, :professional_standing_request] do |f| %> - <%= f.govuk_radio_button :passed, :true, label: { text: "Yes, mark as completed" }, link_errors: true %> - <%= f.govuk_radio_button :passed, :false, label: { text: "No, come back later" } %> + <%= f.govuk_radio_buttons_fieldset :passed, legend: nil do %> + <%= f.govuk_radio_button :passed, :true, label: { text: "Yes, mark as completed" }, link_errors: true %> + <%= f.govuk_radio_button :passed, :false, label: { text: "No, come back later" } %> + <% end %> <%= f.govuk_submit do %> <%= govuk_link_to "Cancel", [:assessor_interface, @application_form, @assessment, :professional_standing_request] %> diff --git a/app/views/assessor_interface/review_verifications/index.html.erb b/app/views/assessor_interface/review_verifications/index.html.erb index 3afc20c8d4..9b46e1c693 100644 --- a/app/views/assessor_interface/review_verifications/index.html.erb +++ b/app/views/assessor_interface/review_verifications/index.html.erb @@ -15,4 +15,6 @@ end end %> -<%= govuk_button_link_to "Back to overview", [:assessor_interface, @application_form] %> +
    + <%= govuk_button_link_to "Back to overview", [:assessor_interface, @application_form] %> +
    From c68ff3458e548d14c24d139840ada690bc621c1a Mon Sep 17 00:00:00 2001 From: Shujat Khalid Date: Thu, 2 Nov 2023 13:27:45 +0000 Subject: [PATCH 2/2] fixed width issue --- .../assessor_interface/review_verifications_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/assessor_interface/review_verifications_controller.rb b/app/controllers/assessor_interface/review_verifications_controller.rb index c50468cbe9..786f1c6f56 100644 --- a/app/controllers/assessor_interface/review_verifications_controller.rb +++ b/app/controllers/assessor_interface/review_verifications_controller.rb @@ -10,6 +10,8 @@ def index @professional_standing_request = assessment.professional_standing_request if assessment.professional_standing_request.verify_failed? + + render layout: "full_from_desktop" end private