From 9a1ee1df9f505afc334967cd35cffd6dffbbad85 Mon Sep 17 00:00:00 2001 From: Minno Dang Date: Fri, 13 Dec 2024 14:01:04 +0000 Subject: [PATCH] Add and remove hint text so it reflects designs on Figma --- app/components/email_alert_fieldset_component.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/email_alert_fieldset_component.rb b/app/components/email_alert_fieldset_component.rb index c9ddd7849..683088f82 100644 --- a/app/components/email_alert_fieldset_component.rb +++ b/app/components/email_alert_fieldset_component.rb @@ -18,6 +18,7 @@ def render_filtered_content_condition_inputs render("govuk_publishing_components/components/checkboxes", { name: "email_filter_by", heading: "Selected filter: #{@email_alert.filter&.humanize}", + no_hint_text: true, items: [ { label: "Make changes to this filter criteria (The development team will reach out to you to discuss the requirements to allow users to sign up by specific filter criteria)", @@ -53,6 +54,7 @@ def render_email_topic_list_title_prefix(input_name) }, name: input_name, value: @email_alert.list_title_prefix, + hint: "This reminds subscribers of the topic of the finder when they are sent emails or they are managing their subscriptions. Example: 'Funding for land or farms'", }) end