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.
20 lines
573 B
20 lines
573 B
2 years ago
|
class Form::Sales::Questions::BuyerStillServing < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "hhregresstill"
|
||
|
@check_answer_label = "Are they still serving in the UK armed forces?"
|
||
|
@header = "Is the buyer still serving in the UK armed forces?"
|
||
|
@type = "radio"
|
||
|
@hint_text = ""
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
@page = page
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"4" => { "value" => "Yes" },
|
||
|
"5" => { "value" => "No" },
|
||
|
"6" => { "value" => "Buyer prefers not to say" },
|
||
|
"7" => { "value" => "Don't know" },
|
||
|
}.freeze
|
||
|
end
|