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.
23 lines
780 B
23 lines
780 B
2 years ago
|
class Form::Sales::Questions::Buyer1PreviousTenure < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "prevten"
|
||
|
@check_answer_label = "Buyer 1's previous tenure"
|
||
|
@header = "What was buyer 1's previous tenure?"
|
||
|
@type = "radio"
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
@page = page
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"1" => { "value" => "Local Authority" },
|
||
|
"2" => { "value" => "Private registered provider or housing association tenant" },
|
||
|
"3" => { "value" => "Private tenant" },
|
||
|
"5" => { "value" => "Owner occupier" },
|
||
|
"4" => { "value" => "Tied home or renting with job" },
|
||
|
"6" => { "value" => "Living with family or friends" },
|
||
|
"7" => { "value" => "Temporary accomodation" },
|
||
|
"9" => { "value" => "Other" },
|
||
|
}.freeze
|
||
|
end
|