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.
12 lines
379 B
12 lines
379 B
2 years ago
|
class Form::Lettings::Questions::DetailsKnown < ::Form::Question
|
||
|
def initialize(id, hsh, page, person_index:)
|
||
|
super(id, hsh, page)
|
||
|
@id = "details_known_#{person_index}"
|
||
|
@type = "radio"
|
||
|
@check_answers_card_number = person_index
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = { "0" => { "value" => "Yes" }, "1" => { "value" => "No" } }.freeze
|
||
|
end
|