|
|
@ -5,10 +5,11 @@ class Form::Sales::Questions::Buyer1PreviousTenure < ::Form::Question |
|
|
|
@check_answer_label = "Buyer 1’s previous tenure" |
|
|
|
@check_answer_label = "Buyer 1’s previous tenure" |
|
|
|
@header = "What was buyer 1’s previous tenure?" |
|
|
|
@header = "What was buyer 1’s previous tenure?" |
|
|
|
@type = "radio" |
|
|
|
@type = "radio" |
|
|
|
@answer_options = ANSWER_OPTIONS |
|
|
|
@answer_options = answer_options |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
ANSWER_OPTIONS = { |
|
|
|
def answer_options |
|
|
|
|
|
|
|
{ |
|
|
|
"1" => { "value" => "Local Authority" }, |
|
|
|
"1" => { "value" => "Local Authority" }, |
|
|
|
"2" => { "value" => "Private registered provider or housing association tenant" }, |
|
|
|
"2" => { "value" => "Private registered provider or housing association tenant" }, |
|
|
|
"3" => { "value" => "Private tenant" }, |
|
|
|
"3" => { "value" => "Private tenant" }, |
|
|
@ -17,5 +18,7 @@ class Form::Sales::Questions::Buyer1PreviousTenure < ::Form::Question |
|
|
|
"6" => { "value" => "Living with family or friends" }, |
|
|
|
"6" => { "value" => "Living with family or friends" }, |
|
|
|
"7" => { "value" => "Temporary accomodation" }, |
|
|
|
"7" => { "value" => "Temporary accomodation" }, |
|
|
|
"9" => { "value" => "Other" }, |
|
|
|
"9" => { "value" => "Other" }, |
|
|
|
}.freeze |
|
|
|
"0" => { "value" => "Don’t know" }, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|