From 93c88ad37af03a7c6aa04769bc3ff6c3453f5d6d Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Thu, 19 Oct 2023 15:36:17 +0100 Subject: [PATCH] feat: update hint copy (#1994) --- app/models/form/lettings/questions/referral.rb | 1 + .../form/lettings/questions/referral_prp.rb | 1 + .../questions/referral_supported_housing.rb | 1 + .../questions/referral_supported_housing_prp.rb | 2 +- config/forms/2021_2022.json | 12 ++++++++---- config/forms/2022_2023.json | 16 ++++++++++------ 6 files changed, 22 insertions(+), 11 deletions(-) diff --git a/app/models/form/lettings/questions/referral.rb b/app/models/form/lettings/questions/referral.rb index a93ba8f63..7f0fb3c41 100644 --- a/app/models/form/lettings/questions/referral.rb +++ b/app/models/form/lettings/questions/referral.rb @@ -14,6 +14,7 @@ class Form::Lettings::Questions::Referral < ::Form::Question ANSWER_OPTIONS = { "1" => { "value" => "Internal transfer", + "hint" => "Where the tenant has moved to another social property owned by the same landlord.", }, "2" => { "value" => "Tenant applied directly (no referral or nomination)", diff --git a/app/models/form/lettings/questions/referral_prp.rb b/app/models/form/lettings/questions/referral_prp.rb index 8a3f03568..a1ec41fd5 100644 --- a/app/models/form/lettings/questions/referral_prp.rb +++ b/app/models/form/lettings/questions/referral_prp.rb @@ -14,6 +14,7 @@ class Form::Lettings::Questions::ReferralPrp < ::Form::Question ANSWER_OPTIONS = { "1" => { "value" => "Internal transfer", + "hint" => "Where the tenant has moved to another social property owned by the same landlord.", }, "2" => { "value" => "Tenant applied directly (no nomination)", diff --git a/app/models/form/lettings/questions/referral_supported_housing.rb b/app/models/form/lettings/questions/referral_supported_housing.rb index 68b9fd8e7..b6b6b1567 100644 --- a/app/models/form/lettings/questions/referral_supported_housing.rb +++ b/app/models/form/lettings/questions/referral_supported_housing.rb @@ -14,6 +14,7 @@ class Form::Lettings::Questions::ReferralSupportedHousing < ::Form::Question ANSWER_OPTIONS = { "1" => { "value" => "Internal transfer", + "hint" => "Where the tenant has moved to another social property owned by the same landlord.", }, "2" => { "value" => "Tenant applied directly (no referral)", diff --git a/app/models/form/lettings/questions/referral_supported_housing_prp.rb b/app/models/form/lettings/questions/referral_supported_housing_prp.rb index 32fb474ed..207eb0e8a 100644 --- a/app/models/form/lettings/questions/referral_supported_housing_prp.rb +++ b/app/models/form/lettings/questions/referral_supported_housing_prp.rb @@ -12,7 +12,7 @@ class Form::Lettings::Questions::ReferralSupportedHousingPrp < ::Form::Question end ANSWER_OPTIONS = { - "1" => { "value" => "Internal transfer" }, + "1" => { "value" => "Internal transfer", "hint" => "Where the tenant has moved to another social property owned by the same landlord." }, "2" => { "value" => "Tenant applied directly (no referral or nomination)" }, "3" => { "value" => "Nominated by a local housing authority" }, "4" => { "value" => "Referred by local authority housing department" }, diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 006a716de..37e796e04 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -7074,7 +7074,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no referral or nomination)" @@ -7131,7 +7132,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no nomination)" @@ -7194,7 +7196,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no referral)" @@ -7254,7 +7257,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no referral or nomination)" diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 5dc249050..81a78bde5 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -6991,7 +6991,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no referral or nomination)" @@ -7048,7 +7049,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no nomination)" @@ -7056,8 +7058,8 @@ "3": { "value": "Nominated by a local housing authority" }, - "4" : { - "value" : "Referred by local authority housing department" + "4" : { + "value" : "Referred by local authority housing department" }, "8": { "value": "Re-located through official housing mobility scheme" @@ -7111,7 +7113,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no referral)" @@ -7171,7 +7174,8 @@ "type": "radio", "answer_options": { "1": { - "value": "Internal transfer" + "value": "Internal transfer", + "hint": "Where the tenant has moved to another social property owned by the same landlord." }, "2": { "value": "Tenant applied directly (no referral or nomination)"