From 2c8d65136b5482df4ce2ad31ff596e9628148f85 Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Fri, 3 May 2024 09:37:10 +0100 Subject: [PATCH] Remove additional copy (#415) Removes the additionaly copy from the ineligible_salaried_course page --- app/views/pages/ineligible_salaried_course.html.erb | 9 +-------- app/views/pages/shared/_body.html.erb | 1 - spec/features/trainee_route_completing_the_form_spec.rb | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/app/views/pages/ineligible_salaried_course.html.erb b/app/views/pages/ineligible_salaried_course.html.erb index ea41d47c..13d6db76 100644 --- a/app/views/pages/ineligible_salaried_course.html.erb +++ b/app/views/pages/ineligible_salaried_course.html.erb @@ -1,10 +1,3 @@ -<%= render layout: 'pages/shared/body' do %> -

- If you are enrolled on a fee-paying teacher training course, and meet the eligibility requirements for trainees, - you do not need to apply to receive the international - payment. <%= govuk_link_to "Get an international relocation payment: criteria for trainee teachers", "https://getintoteaching.education.gov.uk/non-uk-teachers/fees-and-funding-for-non-uk-trainees#get-an-international-relocation-payment-irp-worth-10000", { target: "_blank" } %> - gives more information. -

-<% end %> +<%= render partial: 'pages/shared/body' %> <%= render partial: 'pages/shared/footer' %> diff --git a/app/views/pages/shared/_body.html.erb b/app/views/pages/shared/_body.html.erb index 396bf7c8..201318b1 100644 --- a/app/views/pages/shared/_body.html.erb +++ b/app/views/pages/shared/_body.html.erb @@ -4,6 +4,5 @@ We’re sorry, but you are not currently eligible for the international relocation payment - <%= yield if block_given?%> diff --git a/spec/features/trainee_route_completing_the_form_spec.rb b/spec/features/trainee_route_completing_the_form_spec.rb index e63c5b55..1ac5a7ea 100644 --- a/spec/features/trainee_route_completing_the_form_spec.rb +++ b/spec/features/trainee_route_completing_the_form_spec.rb @@ -31,7 +31,6 @@ and_i_complete_the_trainee_employment_conditions(choose: "No") expect(page).to have_text("We’re sorry") - .and have_text("If you are enrolled on a fee-paying teacher training course") end end end