24 lines
571 B
24 lines
571 B
class Form::Sales::Questions::Person3Known < ::Form::Question |
|
def initialize(id, hsh, page) |
|
super |
|
@id = "details_known_3" |
|
@check_answer_label = "Details known for person 3?" |
|
@header = "Do you know the details for person 3?" |
|
@type = "radio" |
|
@answer_options = ANSWER_OPTIONS |
|
@page = page |
|
@hint_text = "" |
|
@hidden_in_check_answers = { |
|
"depends_on" => [ |
|
{ |
|
"details_known_3" => 1, |
|
}, |
|
], |
|
} |
|
end |
|
|
|
ANSWER_OPTIONS = { |
|
"1" => { "value" => "Yes" }, |
|
"2" => { "value" => "No" }, |
|
}.freeze |
|
end
|
|
|