From 901671bc2554217fc91a19ff07be8c5485d515c7 Mon Sep 17 00:00:00 2001 From: Kat <54268893+kosiakkatrina@users.noreply.github.com> Date: Fri, 7 Feb 2025 12:05:26 +0000 Subject: [PATCH] Update sheltered accommodation question --- app/models/form/lettings/questions/sheltered.rb | 8 +++++--- .../forms/2025/lettings/property_information.en.yml | 8 ++++---- spec/models/form/lettings/questions/sheltered_spec.rb | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app/models/form/lettings/questions/sheltered.rb b/app/models/form/lettings/questions/sheltered.rb index 65e13d864e..d1aa8454aa 100644 --- a/app/models/form/lettings/questions/sheltered.rb +++ b/app/models/form/lettings/questions/sheltered.rb @@ -9,12 +9,14 @@ def initialize(id, hsh, page) def answer_options if form.start_year_2025_or_later? - { "1" => { "value" => "Yes – sheltered housing for tenants with low support needs" }, + { + "7" => { "value" => "Yes – for tenants with low support needs" }, "2" => { "value" => "Yes – extra care housing" }, - "7" => { "value" => "Yes - other" }, + "8" => { "value" => "Yes – other" }, "3" => { "value" => "No" }, "divider" => { "value" => true }, - "4" => { "value" => "Don’t know" } } + "4" => { "value" => "Don’t know" }, + } else { "1" => { "value" => "Yes – specialist retirement housing" }, "2" => { "value" => "Yes – extra care housing" }, diff --git a/config/locales/forms/2025/lettings/property_information.en.yml b/config/locales/forms/2025/lettings/property_information.en.yml index 71a2b6124f..0950134ec5 100644 --- a/config/locales/forms/2025/lettings/property_information.en.yml +++ b/config/locales/forms/2025/lettings/property_information.en.yml @@ -149,7 +149,7 @@ en: sheltered: page_header: "" - check_answer_label: "Letting in sheltered accommodation" - check_answer_prompt: "Tell us if letting is in sheltered accommodation" - hint_text: "Sheltered housing and special retirement housing are for tenants with low-level care and support needs. This typically provides some limited support to enable independent living, such as alarm-based assistance or a scheme manager.

Extra care housing is for tenants with medium to high care and support needs, often with 24 hour access to support staff provided by an agency registered with the Care Quality Commission." - question_text: "Is this letting in sheltered accommodation?" + check_answer_label: "Letting is older people’s housing" + check_answer_prompt: "Tell us if letting is older people’s housing" + hint_text: "This includes retirement living, sheltered housing and extra care housing. There is no national set limit for \"older people\", please answer based on your own policies.

Extra care housing is for tenants with medium to high care and support needs, often with 24 hour access to support staff provided by an agency registered with the Care Quality Commission." + question_text: "Is this property older people’s housing?" diff --git a/spec/models/form/lettings/questions/sheltered_spec.rb b/spec/models/form/lettings/questions/sheltered_spec.rb index 429b8a7257..7b3ee9d868 100644 --- a/spec/models/form/lettings/questions/sheltered_spec.rb +++ b/spec/models/form/lettings/questions/sheltered_spec.rb @@ -52,9 +52,9 @@ it "has the correct answer_options" do expect(question.answer_options).to eq({ - "1" => { "value" => "Yes – sheltered housing for tenants with low support needs" }, + "7" => { "value" => "Yes – for tenants with low support needs" }, "2" => { "value" => "Yes – extra care housing" }, - "7" => { "value" => "Yes - other" }, + "8" => { "value" => "Yes – other" }, "3" => { "value" => "No" }, "divider" => { "value" => true }, "4" => { "value" => "Don’t know" },