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::Lettings::Questions::Renewal < ::Form::Question
|
|
|
|
def initialize(id, hsh, page)
|
|
|
|
super
|
|
|
|
@id = "renewal"
|
|
|
|
@check_answer_label = "Property renewal"
|
|
|
|
@header = "Is this letting a renewal?"
|
|
|
|
@type = "radio"
|
|
|
|
@answer_options = ANSWER_OPTIONS
|
|
|
|
@hint_text = "A renewal is a letting to the same tenant in the same property"
|
|
|
|
@question_number = 4
|
|
|
|
end
|
|
|
|
|
|
|
|
ANSWER_OPTIONS = {
|
|
|
|
"1" => { "value" => "Yes" },
|
|
|
|
"0" => { "value" => "No" },
|
|
|
|
}.freeze
|
|
|
|
end
|