Submit social housing lettings and sales data (CORE)
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.
|
|
|
class Form::Sales::Questions::OwnershipScheme < ::Form::Question
|
|
|
|
def initialize(id, hsh, page)
|
|
|
|
super
|
|
|
|
@id = "ownershipsch"
|
|
|
|
@check_answer_label = "Purchase made under ownership scheme"
|
|
|
|
@header = "Was this purchase made through an ownership scheme?"
|
|
|
|
@type = "radio"
|
|
|
|
@answer_options = ANSWER_OPTIONS
|
|
|
|
@page = page
|
|
|
|
end
|
|
|
|
|
|
|
|
ANSWER_OPTIONS = {
|
|
|
|
"1" => { "value" => "Yes - a shared ownership scheme" },
|
|
|
|
"2" => { "value" => "Yes - a discounted ownership scheme" },
|
|
|
|
"3" => { "value" => "No - this is an outright or other sale" },
|
|
|
|
}.freeze
|
|
|
|
end
|