diff --git a/app/views/mailing_list/steps/_name.html.erb b/app/views/mailing_list/steps/_name.html.erb index 46dd8f430a..60806f31c9 100644 --- a/app/views/mailing_list/steps/_name.html.erb +++ b/app/views/mailing_list/steps/_name.html.erb @@ -1,20 +1,9 @@ -

Get personalised guidance on teacher training in your inbox

+

Free personalised teacher training guidance

-If you're interested in training to teach in primary, secondary and special schools in England, get everything you need to know to start a career in teaching. +Discover everything you need to know to start a teaching career in England, sent straight to your inbox. Personalised to you, we'll send you the latest information as well as advice and support.

-

-Find out how to get: -

- - - <%= f.govuk_text_field :first_name, width: 'two-thirds', autocomplete: "given-name" %> <%= f.govuk_text_field :last_name, width: 'two-thirds', autocomplete: "family-name" %> <%= f.govuk_email_field :email, width: 'two-thirds', autocomplete: "email" %> @@ -22,6 +11,4 @@ Find out how to get: <%= f.hidden_field :sub_channel_id, value: params[:sub_channel] || f.object.sub_channel_id %> <%= f.hidden_field :accepted_policy_id, value: f.object.latest_privacy_policy.id %> -

Your details are protected under the terms of our <%= link_to("privacy notice (opens in new tab)", privacy_policy_path(id: f.object.latest_privacy_policy.id), { target: :blank }) %>.

- -

Our privacy notice explains how we use your personal data. It's important you read this before signing up to receive emails.

+

Your details are protected under the terms of our <%= link_to("privacy notice (opens in new tab)", privacy_policy_path(id: f.object.latest_privacy_policy.id), { target: :blank }) %>. This explains how we use your personal data. It's important you read this before signing up to receive emails.

diff --git a/docs/sign-up-journeys.md b/docs/sign-up-journeys.md index 3118ea7a8a..5ac22181e4 100644 --- a/docs/sign-up-journeys.md +++ b/docs/sign-up-journeys.md @@ -6,7 +6,7 @@ There are multiple different sign up journeys available on the Get into Teaching ```mermaid graph TD; - name[Get personalised guidance on teacher training in your inbox] -- Doesn't exist in CRM --> returning_teacher[Are you already qualified to teach?] + name[Free personalised teacher training guidance] -- Doesn't exist in CRM --> returning_teacher[Are you already qualified to teach?] name -- Exists in CRM --> authenticate[You're already registered with us] returning_teacher -- Yes --> already_qualified[We're sorry, but our emails are for people who are not already qualified to teach] diff --git a/spec/features/mailing_list_wizard_spec.rb b/spec/features/mailing_list_wizard_spec.rb index 088be81796..e3a421ac91 100644 --- a/spec/features/mailing_list_wizard_spec.rb +++ b/spec/features/mailing_list_wizard_spec.rb @@ -14,7 +14,7 @@ expect(page).to have_title(mailing_list_page_title) - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -54,7 +54,7 @@ channel_id = channels.first.id visit mailing_list_steps_path({ id: :name, channel: channel_id, sub_channel: sub_channel_id }) - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" # Error to ensure channel/sub-channel persists over page reload. click_on "Next step" expect(page).to have_text("Enter your full email address") @@ -96,7 +96,7 @@ channel_id = channels.first.id visit mailing_list_steps_path({ id: :name, channel: channel_id, sub_channel: sub_channel_id }) - expect(page).to have_text("Get personalised guidance on teacher training in your inbox") + expect(page).to have_text("Free personalised teacher training guidance") fill_in_name_step click_on "Next step" @@ -135,7 +135,7 @@ visit mailing_list_steps_path({ id: :name, channel: "invalid", sub_channel: sub_channel_id }) - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -179,7 +179,7 @@ visit mailing_list_steps_path - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step(first_name: first_name) click_on "Next step" @@ -219,7 +219,7 @@ visit mailing_list_steps_path - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -243,7 +243,7 @@ visit mailing_list_steps_path - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -274,7 +274,7 @@ visit mailing_list_steps_path - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -298,7 +298,7 @@ visit mailing_list_steps_path - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -378,7 +378,7 @@ visit mailing_list_steps_path - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step click_on "Next step" @@ -395,7 +395,7 @@ allow_any_instance_of(GetIntoTeachingApiClient::CandidatesApi).to \ receive(:create_candidate_access_token).and_raise(GetIntoTeachingApiClient::ApiError) - expect(page).to have_text "Get personalised guidance on teacher training in your inbox" + expect(page).to have_text "Free personalised teacher training guidance" fill_in_name_step(email: "test2@user.com") click_on "Next step"