Browse Source

Fix hb question

pull/2732/head
Manny Dinssa 10 months ago
parent
commit
b4a2261e17
  1. 3
      app/models/form/lettings/questions/hb.rb
  2. 4
      config/locales/forms/2023/lettings/income_and_benefits.en.yml

3
app/models/form/lettings/questions/hb.rb

@ -2,11 +2,8 @@ class Form::Lettings::Questions::Hb < ::Form::Question
def initialize(id, hsh, page)
super
@id = "hb"
@check_answer_label = "Housing-related benefits received"
@header = "Is the household likely to be receiving any of these housing-related benefits?"
@type = "radio"
@check_answers_card_number = 0
@hint_text = form.start_year_after_2024? ? "This is about when the tenant is in their new let. If they are unsure about the situation for their new let and their financial and working situation hasn’t changed significantly, answer based on what housing-related benefits they currently receive." : ""
@answer_options = ANSWER_OPTIONS
@question_number = QUESTION_NUMBER_FROM_YEAR[form.start_date.year] || QUESTION_NUMBER_FROM_YEAR[QUESTION_NUMBER_FROM_YEAR.keys.max]
end

4
config/locales/forms/2023/lettings/income_and_benefits.en.yml

@ -23,7 +23,7 @@ en:
hb:
page_header: ""
check_answer_label: "Housing-related benefits received"
hint_text: ""
hint_text: "This is about when the tenant is in their new let. If they are unsure about the situation for their new let and their financial and working situation hasn’t changed significantly, answer based on what housing-related benefits they currently receive."
question_text: "Is the household likely to be receiving any of these housing-related benefits?"
benefits:
@ -94,7 +94,7 @@ en:
page_header: ""
check_answer_label: "Any outstanding amount for basic rent and charges"
hint_text: "Also known as the ‘outstanding amount’."
question_text: ""
question_text: "After the household has received any housing-related benefits, will they still need to pay for rent and charges?"
outstanding_amount:
page_header: ""

Loading…
Cancel
Save