From 05cdecea0e284920b9ade97097966db7c0e45735 Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 14 Jul 2023 11:05:54 +0100 Subject: [PATCH] Update hint text on conditional questions --- app/models/form/lettings/questions/reason_renewal.rb | 2 +- app/models/form/lettings/questions/referral.rb | 2 +- app/models/form/lettings/questions/referral_prp.rb | 2 +- .../form/lettings/questions/referral_supported_housing.rb | 2 +- config/forms/2022_2023.json | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/models/form/lettings/questions/reason_renewal.rb b/app/models/form/lettings/questions/reason_renewal.rb index 9111ad8e7..86aae9c39 100644 --- a/app/models/form/lettings/questions/reason_renewal.rb +++ b/app/models/form/lettings/questions/reason_renewal.rb @@ -6,7 +6,7 @@ class Form::Lettings::Questions::ReasonRenewal < ::Form::Question @header = "What is the tenant’s main reason for the household leaving their last settled home?" @type = "radio" @check_answers_card_number = 0 - @hint_text = "" + @hint_text = "You told us this letting is a renewal. We have removed some options because of this." @answer_options = ANSWER_OPTIONS @question_number = 77 end diff --git a/app/models/form/lettings/questions/referral.rb b/app/models/form/lettings/questions/referral.rb index ca1e117a4..a93ba8f63 100644 --- a/app/models/form/lettings/questions/referral.rb +++ b/app/models/form/lettings/questions/referral.rb @@ -6,7 +6,7 @@ class Form::Lettings::Questions::Referral < ::Form::Question @header = "What was the source of referral for this letting?" @type = "radio" @check_answers_card_number = 0 - @hint_text = "" + @hint_text = "You told us that you are a local authority and that the needs type is general needs. We have removed some options because of this." @answer_options = ANSWER_OPTIONS @question_number = 85 end diff --git a/app/models/form/lettings/questions/referral_prp.rb b/app/models/form/lettings/questions/referral_prp.rb index a602beea8..36dc247b7 100644 --- a/app/models/form/lettings/questions/referral_prp.rb +++ b/app/models/form/lettings/questions/referral_prp.rb @@ -6,7 +6,7 @@ class Form::Lettings::Questions::ReferralPrp < ::Form::Question @header = "What was the source of referral for this letting?" @type = "radio" @check_answers_card_number = 0 - @hint_text = "" + @hint_text = "You told us that the needs type is general needs. We have removed some options because of this." @answer_options = ANSWER_OPTIONS @question_number = 85 end diff --git a/app/models/form/lettings/questions/referral_supported_housing.rb b/app/models/form/lettings/questions/referral_supported_housing.rb index 12d24cd53..5ec9de70e 100644 --- a/app/models/form/lettings/questions/referral_supported_housing.rb +++ b/app/models/form/lettings/questions/referral_supported_housing.rb @@ -6,7 +6,7 @@ class Form::Lettings::Questions::ReferralSupportedHousing < ::Form::Question @header = "What was the source of referral for this letting?" @type = "radio" @check_answers_card_number = 0 - @hint_text = "" + @hint_text = "You told us that you are a local authority. We have removed some options because of this." @answer_options = ANSWER_OPTIONS @question_number = 85 end diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 7e4318998..294da4df9 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -6220,7 +6220,7 @@ "reason": { "check_answer_label": "Reason for leaving last settled home", "header": "What is the tenant’s main reason for the household leaving their last settled home?", - "hint_text": "", + "hint_text": "You told us this letting is a renewal. We have removed some options because of this.", "type": "radio", "answer_options": { "40": { @@ -6966,7 +6966,7 @@ "referral": { "check_answer_label": "Source of referral for letting", "header": "What was the source of referral for this letting?", - "hint_text": "", + "hint_text": "You told us that you are a local authority and that the needs type is general needs. We have removed some options because of this.", "type": "radio", "answer_options": { "1": { @@ -7023,7 +7023,7 @@ "referral": { "check_answer_label": "Source of referral for letting", "header": "What was the source of referral for this letting?", - "hint_text": "", + "hint_text": "You told us that the needs type is general needs. We have removed some options because of this.", "type": "radio", "answer_options": { "1": { @@ -7080,7 +7080,7 @@ "referral": { "check_answer_label": "Source of referral for letting", "header": "What was the source of referral for this letting?", - "hint_text": "", + "hint_text": "You told us that you are a local authority. We have removed some options because of this.", "type": "radio", "answer_options": { "1": {