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.
27 lines
688 B
27 lines
688 B
class Form::Lettings::Questions::HousingneedsOther < ::Form::Question |
|
def initialize(id, hsh, page) |
|
super |
|
@id = "housingneeds_other" |
|
@check_answer_label = "Other disabled access needs" |
|
@header = "Do they have any other disabled access needs?" |
|
@type = "radio" |
|
@check_answers_card_number = 0 |
|
@hint_text = "" |
|
@question_number = 72 |
|
end |
|
|
|
def answer_options |
|
if form.start_year_after_2024? |
|
{ |
|
"1" => { "value" => "Yes" }, |
|
"0" => { "value" => "No" }, |
|
"2" => { "value" => "Don't know" }, |
|
}.freeze |
|
else |
|
{ |
|
"1" => { "value" => "Yes" }, |
|
"0" => { "value" => "No" }, |
|
}.freeze |
|
end |
|
end |
|
end
|
|
|