diff --git a/app/components/content/checklist_collage_component.rb b/app/components/content/checklist_collage_component.rb index 9afdff528d..c571231faf 100644 --- a/app/components/content/checklist_collage_component.rb +++ b/app/components/content/checklist_collage_component.rb @@ -2,10 +2,12 @@ module Content class ChecklistCollageComponent < ViewComponent::Base attr_reader :checklist, :image_paths, :cta + include ContentHelper + def initialize(checklist:, image_paths:, cta: nil) super - @checklist = checklist + @checklist = checklist.map { |item| substitute_values(item) } @image_paths = image_paths @cta = cta end diff --git a/app/views/content/landing/grow/_collage.html.erb b/app/views/content/landing/grow/_collage.html.erb index dc60b97ea7..7fb7ff13b5 100644 --- a/app/views/content/landing/grow/_collage.html.erb +++ b/app/views/content/landing/grow/_collage.html.erb @@ -5,9 +5,10 @@

Teaching is a fulfilling career. Not only can you inspire the pupils you teach, you also get to learn new skills, build your confidence and become your best self. The benefits of being a teacher include:

<%= render Content::ChecklistCollageComponent.new( checklist: [ + "a starting salary of $salaries_starting_min$ (or higher in London)", "career progression ", "personal development", - "opportunities to increase your pay" + "opportunities to increase your pay", ], image_paths: [ "static/images/content/grow/Smiling_Student.jpg", diff --git a/app/views/content/landing/how-to-become-a-teacher/_promo.html.erb b/app/views/content/landing/how-to-become-a-teacher/_promo.html.erb index e6111da05f..50edafa928 100644 --- a/app/views/content/landing/how-to-become-a-teacher/_promo.html.erb +++ b/app/views/content/landing/how-to-become-a-teacher/_promo.html.erb @@ -2,7 +2,7 @@
<%= render Content::PurpleBoxComponent.new( heading: "Find out more about getting into teaching", - text: "Explore how you can get into teaching primary or secondary and find top tips on making a successful application.", + text: "Explore how you can get into teaching primary or secondary and find top tips on making a successful application. With a competitive starting salary of $salaries_starting_min$ (or higher in London), it pays to do what you love.", cta: { text: "Get tailored guidance in your inbox", path: "/mailinglist/signup/name", diff --git a/app/views/content/landing/train-to-teach-if-you-have-a-degree/_promo.html.erb b/app/views/content/landing/train-to-teach-if-you-have-a-degree/_promo.html.erb index 1fed1682bf..06cc24ebad 100644 --- a/app/views/content/landing/train-to-teach-if-you-have-a-degree/_promo.html.erb +++ b/app/views/content/landing/train-to-teach-if-you-have-a-degree/_promo.html.erb @@ -3,7 +3,7 @@ <% promo.with_right_section( heading: "Find out more about getting into teaching" ) do %> -

Find out more about funding your training, as well as top tips on making a successful application.

+

Find out more about funding your training, as well as top tips on making a successful application. With a competitive starting salary of <%= v :salaries_starting_min %> (or higher in London), it pays to do what you love.

<%= link_to("Get tailored guidance in your inbox", "/mailinglist/signup/name", class: "button") %> <% end %>