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.
23 lines
524 B
23 lines
524 B
2 years ago
|
class Form::Sales::Pages::Person1Age < ::Form::Page
|
||
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "person_1_age"
|
||
|
@header = ""
|
||
|
@description = ""
|
||
|
@subsection = subsection
|
||
|
@depends_on = [
|
||
|
{ "hholdcount" => 1 },
|
||
|
{ "hholdcount" => 2 },
|
||
|
{ "hholdcount" => 3 },
|
||
|
{ "hholdcount" => 4 },
|
||
|
]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
@questions ||= [
|
||
|
Form::Sales::Questions::Person1AgeKnown.new(nil, nil, self),
|
||
|
Form::Sales::Questions::Person1Age.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|