diff --git a/app/models/form/lettings/questions/referral_type.rb b/app/models/form/lettings/questions/referral_type.rb index fbcb25bc8..fdedc88eb 100644 --- a/app/models/form/lettings/questions/referral_type.rb +++ b/app/models/form/lettings/questions/referral_type.rb @@ -2,7 +2,7 @@ class Form::Lettings::Questions::ReferralType < ::Form::Question def initialize(id, hsh, page) super @id = "referral_type" - @copy_key = "lettings.household_situation.referral" + @copy_key = "lettings.household_situation.referral.type" @type = "radio" @check_answers_card_number = 0 @question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max] diff --git a/config/locales/forms/2025/lettings/household_situation.en.yml b/config/locales/forms/2025/lettings/household_situation.en.yml index 2d8794899..e59b4fecf 100644 --- a/config/locales/forms/2025/lettings/household_situation.en.yml +++ b/config/locales/forms/2025/lettings/household_situation.en.yml @@ -112,11 +112,12 @@ en: question_text: "How was this letting allocated?" referral: - page_header: "" - check_answer_label: "Source of referral type" - check_answer_prompt: "Select source of referral" - hint_text: "" - question_text: "What was the source of referral for this letting?" + type: + page_header: "" + check_answer_label: "Source of referral type" + check_answer_prompt: "Select source of referral" + hint_text: "" + question_text: "What was the source of referral for this letting?" direct: page_header: "" check_answer_label: "Source of referral for letting"