From f5ad0a6121935aeed9743ed492e736c1f80a1bd3 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:45:14 +0100 Subject: [PATCH] Change scheme new deactivation page --- app/views/schemes/toggle_active.html.erb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/schemes/toggle_active.html.erb b/app/views/schemes/toggle_active.html.erb index b23c9591c..6f721c3bc 100644 --- a/app/views/schemes/toggle_active.html.erb +++ b/app/views/schemes/toggle_active.html.erb @@ -12,11 +12,12 @@
<%= I18n.t("hints.scheme.toggle_active", date: start_date.to_formatted_s(:govuk_date)) %>
<%= f.govuk_radio_buttons_fieldset date_type_question(action), - legend: { text: I18n.t("questions.scheme.toggle_active.apply_from") }, - caption: { text: title }, - hint: { text: I18n.t("hints.scheme.toggle_active", date: start_date.to_formatted_s(:govuk_date)) } do %> - <%= govuk_warning_text text: I18n.t("warnings.scheme.#{action}.existing_logs") %> + legend: { text: I18n.t("questions.scheme.toggle_active.apply_from"), hidden: true } do %> <%= f.govuk_radio_button date_type_question(action), "default", label: { text: "From the start of the open collection period (#{start_date.to_formatted_s(:govuk_date)})" } %> @@ -26,7 +27,7 @@ **basic_conditional_html_attributes({ "deactivation_date" => %w[other] }, "scheme") do %> <%= f.govuk_date_field date_question(action), legend: { text: "Date", size: "m" }, - hint: { text: "For example, 27 3 2022" }, + hint: { text: "For example, 27 3 2025" }, width: 20 %> <% end %> <% end %>