You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
714 B
19 lines
714 B
2 years ago
|
class Form::Sales::Questions::HousingBenefits < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "hb"
|
||
|
@check_answer_label = "Housing-related benefits buyer received before buying this property"
|
||
|
@header = "Was the buyer receiving any of these housing-related benefits immediately before buying this property?"
|
||
|
@type = "radio"
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"2" => { "value" => "Housing benefit" },
|
||
|
"3" => { "value" => "Universal Credit housing element" },
|
||
|
"divider" => { "value" => true },
|
||
|
"1" => { "value" => "Neither housing benefit or Universal Credit housing element" },
|
||
|
"4" => { "value" => "Don’t know " },
|
||
|
}.freeze
|
||
|
end
|