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.
18 lines
412 B
18 lines
412 B
2 years ago
|
class Form::Lettings::Questions::Renewal < ::Form::Question
|
||
3 years ago
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "renewal"
|
||
|
@check_answer_label = "Property renewal"
|
||
|
@header = "Is this letting a renewal?"
|
||
|
@hint_text = ""
|
||
|
@type = "radio"
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
@page = page
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"1" => { "value" => "Yes" },
|
||
|
"0" => { "value" => "No" },
|
||
|
}.freeze
|
||
|
end
|