Browse Source

Update referral type

CLDC-3843-Lettings-household-situation-change-question-format
Manny Dinssa 6 days ago
parent
commit
9ea12911c4
  1. 2
      app/models/form/lettings/questions/referral_type.rb
  2. 11
      config/locales/forms/2025/lettings/household_situation.en.yml

2
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]

11
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"

Loading…
Cancel
Save