Submit social housing lettings and sales data (CORE)

12 lines
330 B

class Form::Lettings::Pages::TenancyLengthPeriodic < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "tenancy_length_periodic"
@depends_on = [{ "tenancy_type_periodic?" => true }]
end
def questions
@questions ||= [Form::Lettings::Questions::TenancyLengthPeriodic.new(nil, nil, self)]
end
end