From 07a2b59c366a104c94bfc485a14c7c0990a96549 Mon Sep 17 00:00:00 2001 From: Abigail McPhillips Date: Wed, 24 Jul 2024 16:15:11 +0100 Subject: [PATCH] Hide the start button if the journey is closed --- app/views/early_years_payment/landing_page.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/early_years_payment/landing_page.html.erb b/app/views/early_years_payment/landing_page.html.erb index e29dcb062a..2c12d0758a 100644 --- a/app/views/early_years_payment/landing_page.html.erb +++ b/app/views/early_years_payment/landing_page.html.erb @@ -132,6 +132,8 @@ <%= govuk_link_to("early years financial incentive payment", "#") %>.

- <%= govuk_start_button(text: "Start now", href: "#") %> + <% if @journey_open %> + <%= govuk_start_button(text: "Start now", href: "#") %> + <% end %>