From 069f203e1657bd362eb69466bfcfd1841458ebff Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 30 Jan 2025 19:22:08 +0000 Subject: [PATCH] Update guidance partial --- app/views/form/guidance/_address_search.html.erb | 4 ++-- config/locales/forms/2024/lettings/guidance.en.yml | 11 +++++++++-- config/locales/forms/2024/sales/guidance.en.yml | 2 +- config/locales/forms/2025/lettings/guidance.en.yml | 7 +++++++ config/locales/forms/2025/sales/guidance.en.yml | 2 +- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/app/views/form/guidance/_address_search.html.erb b/app/views/form/guidance/_address_search.html.erb index fea0fd583..086f37761 100644 --- a/app/views/form/guidance/_address_search.html.erb +++ b/app/views/form/guidance/_address_search.html.erb @@ -1,3 +1,3 @@ -<%= govuk_details(summary_text: I18n.t("forms.#{@log.form.start_date.year}.sales.guidance.address_search.title")) do %> - <%= I18n.t("forms.#{@log.form.start_date.year}.sales.guidance.address_search.content").html_safe %> +<%= govuk_details(summary_text: I18n.t("forms.#{@log.form.start_date.year}.#{@log.form.type}.guidance.address_search.title")) do %> + <%= I18n.t("forms.#{@log.form.start_date.year}.#{@log.form.type}.guidance.address_search.content").html_safe %> <% end %> diff --git a/config/locales/forms/2024/lettings/guidance.en.yml b/config/locales/forms/2024/lettings/guidance.en.yml index 922124a94..ba5d152d6 100644 --- a/config/locales/forms/2024/lettings/guidance.en.yml +++ b/config/locales/forms/2024/lettings/guidance.en.yml @@ -14,7 +14,7 @@ en:

If your organisation’s schemes were migrated from old CORE, they may have new names and codes. Search by postcode to find your scheme.

" scheme_changes_link_text: "Read more about how schemes have changed" view_schemes_link_text: "View your organisation’s schemes" - + privacy_notice_tenant: content: "Make sure the lead tenant has seen or been given access to %{privacy_notice_link} before completing this log. This is a legal requirement under data protection legislation." privacy_notice_link_text: "the Ministry of Housing, Communities and Local Government (MHCLG) privacy notice" @@ -60,4 +60,11 @@ en:
  • housing benefit
  • child benefit
  • council tax support
  • - " \ No newline at end of file + " + + address_search: + title: "Can’t find the address you’re looking for?" + content: "" diff --git a/config/locales/forms/2024/sales/guidance.en.yml b/config/locales/forms/2024/sales/guidance.en.yml index 9845edfaf..b57595c66 100644 --- a/config/locales/forms/2024/sales/guidance.en.yml +++ b/config/locales/forms/2024/sales/guidance.en.yml @@ -48,6 +48,6 @@ en: address_search: title: "Can’t find the address you’re looking for?" content: "" diff --git a/config/locales/forms/2025/lettings/guidance.en.yml b/config/locales/forms/2025/lettings/guidance.en.yml index 340eb11d5..cb51fbf9d 100644 --- a/config/locales/forms/2025/lettings/guidance.en.yml +++ b/config/locales/forms/2025/lettings/guidance.en.yml @@ -61,3 +61,10 @@ en:
  • child benefit
  • council tax support
  • " + + address_search: + title: "Can’t find the address you’re looking for?" + content: "" diff --git a/config/locales/forms/2025/sales/guidance.en.yml b/config/locales/forms/2025/sales/guidance.en.yml index 721f10c63..cfb9b0615 100644 --- a/config/locales/forms/2025/sales/guidance.en.yml +++ b/config/locales/forms/2025/sales/guidance.en.yml @@ -48,6 +48,6 @@ en: address_search: title: "Can’t find the address you’re looking for?" content: ""