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.
19 lines
473 B
19 lines
473 B
2 years ago
|
class Form::Sales::Questions::ExtraBorrowing < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "extrabor"
|
||
|
@check_answer_label = "Any other borrowing?"
|
||
|
@header = "Does this include any extra borrowing?"
|
||
|
@type = "radio"
|
||
|
@answer_options = ANSWER_OPTIONS
|
||
|
@page = page
|
||
|
@hint_text = ""
|
||
|
end
|
||
|
|
||
|
ANSWER_OPTIONS = {
|
||
|
"1" => { "value" => "Yes" },
|
||
|
"2" => { "value" => "No" },
|
||
|
"3" => { "value" => "Don't know" },
|
||
|
}.freeze
|
||
|
end
|