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.
17 lines
761 B
17 lines
761 B
class Form::Lettings::Questions::Age1Known < ::Form::Question |
|
def initialize(id, hsh, page) |
|
super |
|
@id = "age1_known" |
|
@check_answer_label = "" |
|
@header = "Do you know the lead tenant’s age?" |
|
@type = "radio" |
|
@check_answers_card_number = 1 |
|
@hint_text = "The ’lead’ or ’main’ tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest." |
|
@answer_options = ANSWER_OPTIONS |
|
@conditional_for = { "age1" => [0] } |
|
@hidden_in_check_answers = { "depends_on" => [{ "age1_known" => 0 }, { "age1_known" => 1 }] } |
|
@question_number = 32 |
|
end |
|
|
|
ANSWER_OPTIONS = { "0" => { "value" => "Yes" }, "1" => { "value" => "No" } }.freeze |
|
end
|
|
|