Submit social housing lettings and sales data (CORE)
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
567 B

class Form::Sales::Pages::Person2Age < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "person_2_age"
@header = ""
@description = ""
@subsection = subsection
@depends_on = [
{ "hholdcount" => 2, "details_known_2" => 1 },
{ "hholdcount" => 3, "details_known_2" => 1 },
{ "hholdcount" => 4, "details_known_2" => 1 },
]
end
def questions
@questions ||= [
Form::Sales::Questions::Person2AgeKnown.new(nil, nil, self),
Form::Sales::Questions::Person2Age.new(nil, nil, self),
]
end
end