From 00687afa783b4f5e7774e2a33c55d59636ed3a09 Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Wed, 25 Mar 2026 10:23:44 +0000 Subject: [PATCH] CLDC-4303: Add UPRN guidance --- app/views/form/guidance/_address_search.html.erb | 4 ++++ config/locales/forms/2024/lettings/guidance.en.yml | 5 +++++ config/locales/forms/2024/sales/guidance.en.yml | 5 +++++ config/locales/forms/2025/lettings/guidance.en.yml | 5 +++++ config/locales/forms/2025/sales/guidance.en.yml | 5 +++++ config/locales/forms/2026/lettings/guidance.en.yml | 5 +++++ config/locales/forms/2026/sales/guidance.en.yml | 5 +++++ 7 files changed, 34 insertions(+) diff --git a/app/views/form/guidance/_address_search.html.erb b/app/views/form/guidance/_address_search.html.erb index e3ac31657..e93fb78b6 100644 --- a/app/views/form/guidance/_address_search.html.erb +++ b/app/views/form/guidance/_address_search.html.erb @@ -2,6 +2,10 @@ <%= I18n.t("forms.#{@log.form.start_date.year}.#{@log.form.type}.guidance.address_search.content").html_safe %> <% end %> +<%= govuk_details(summary_text: I18n.t("forms.#{@log.form.start_date.year}.#{@log.form.type}.guidance.address_uprn.title")) do %> + <%= I18n.t("forms.#{@log.form.start_date.year}.#{@log.form.type}.guidance.address_uprn.content").html_safe %> +<% end %> +
<%= govuk_link_to "Enter the address manually instead", address_manual_input_path(@log.log_type, @log.id), class: "govuk-button govuk-button--secondary" %>
diff --git a/config/locales/forms/2024/lettings/guidance.en.yml b/config/locales/forms/2024/lettings/guidance.en.yml index 41349c607..03ed55171 100644 --- a/config/locales/forms/2024/lettings/guidance.en.yml +++ b/config/locales/forms/2024/lettings/guidance.en.yml @@ -68,3 +68,8 @@ en:
  • Some properties may not be available yet e.g. new builds; you might need to enter them manually instead
  • For UPRN (Unique Property Reference Number), please enter the full value exactly
  • " + + address_uprn: + title: "What is a UPRN?" + content: "

    The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.

    +

    The UPRN may not be the same as the property reference assigned by your organisation.

    " diff --git a/config/locales/forms/2024/sales/guidance.en.yml b/config/locales/forms/2024/sales/guidance.en.yml index b57595c66..72d5fbf2d 100644 --- a/config/locales/forms/2024/sales/guidance.en.yml +++ b/config/locales/forms/2024/sales/guidance.en.yml @@ -51,3 +51,8 @@ en:
  • Some properties may not be available yet e.g. new builds; you might need to enter them manually instead
  • For UPRN (Unique Property Reference Number), please enter the full value exactly
  • " + + address_uprn: + title: "What is a UPRN?" + content: "

    The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.

    +

    The UPRN may not be the same as the property reference assigned by your organisation.

    " diff --git a/config/locales/forms/2025/lettings/guidance.en.yml b/config/locales/forms/2025/lettings/guidance.en.yml index 5c9f81c75..27cf2c07a 100644 --- a/config/locales/forms/2025/lettings/guidance.en.yml +++ b/config/locales/forms/2025/lettings/guidance.en.yml @@ -67,3 +67,8 @@ en:
  • Some properties may not be available yet e.g. new builds; you might need to enter them manually instead
  • For UPRN (Unique Property Reference Number), please enter the full value exactly
  • " + + address_uprn: + title: "What is a UPRN?" + content: "

    The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.

    +

    The UPRN may not be the same as the property reference assigned by your organisation.

    " diff --git a/config/locales/forms/2025/sales/guidance.en.yml b/config/locales/forms/2025/sales/guidance.en.yml index cfb9b0615..00e4cdb6c 100644 --- a/config/locales/forms/2025/sales/guidance.en.yml +++ b/config/locales/forms/2025/sales/guidance.en.yml @@ -51,3 +51,8 @@ en:
  • Some properties may not be available yet e.g. new builds; you might need to enter them manually instead
  • For UPRN (Unique Property Reference Number), please enter the full value exactly
  • " + + address_uprn: + title: "What is a UPRN?" + content: "

    The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.

    +

    The UPRN may not be the same as the property reference assigned by your organisation.

    " diff --git a/config/locales/forms/2026/lettings/guidance.en.yml b/config/locales/forms/2026/lettings/guidance.en.yml index 9e3ad1a2d..3f2e315cf 100644 --- a/config/locales/forms/2026/lettings/guidance.en.yml +++ b/config/locales/forms/2026/lettings/guidance.en.yml @@ -68,6 +68,11 @@ en:
  • For UPRN (Unique Property Reference Number), please enter the full value exactly
  • " + address_uprn: + title: "What is a UPRN?" + content: "

    The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.

    +

    The UPRN may not be the same as the property reference assigned by your organisation.

    " + needs_type: title: "What does each need type mean?" content: "General needs housing includes both self-contained and shared housing without support or specific adaptations.

    Supported housing is housing with special design facilities or features targeted at a specific client group requiring support, for example housing designed for older people, sheltered accommodation, extra care housing. It can include direct access hostels, group homes, and purpose-built self-contained housing. We do not require CORE logs for residential care or nursing homes." diff --git a/config/locales/forms/2026/sales/guidance.en.yml b/config/locales/forms/2026/sales/guidance.en.yml index 923d1d1ee..bc40e2a7b 100644 --- a/config/locales/forms/2026/sales/guidance.en.yml +++ b/config/locales/forms/2026/sales/guidance.en.yml @@ -50,3 +50,8 @@ en:
  • Some properties may not be available yet e.g. new builds; you might need to enter them manually instead
  • For UPRN (Unique Property Reference Number), please enter the full value exactly
  • " + + address_uprn: + title: "What is a UPRN?" + content: "

    The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and various industries across the UK. An example is 0010457355.

    +

    The UPRN may not be the same as the property reference assigned by your organisation.

    "