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.
21 lines
685 B
21 lines
685 B
2 years ago
|
class Form::Lettings::Questions::Leftreg < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "leftreg"
|
||
|
@check_answer_label = "Person still serving in UK armed forces"
|
||
|
@header = "Is the person still serving in the UK armed forces?"
|
||
|
@type = "radio"
|
||
|
@check_answers_card_number = 0
|
||
|
@hint_text = ""
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"0" => { "value" => "Yes" },
|
||
|
"1" => { "value" => "No – they left up to and including 5 years ago" },
|
||
|
"2" => { "value" => "No – they left more than 5 years ago" },
|
||
|
"divider" => { "value" => true },
|
||
|
"3" => { "value" => "Person prefers not to say" },
|
||
|
}.freeze
|
||
|
end
|