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
886 B
21 lines
886 B
class Form::Lettings::Subsections::TenancyInformation < ::Form::Subsection |
|
def initialize(id, hsh, section) |
|
super |
|
@id = "tenancy_information" |
|
@label = "Tenancy information" |
|
@depends_on = [{ "non_location_setup_questions_completed?" => true }] |
|
end |
|
|
|
def pages |
|
@pages ||= [ |
|
Form::Lettings::Pages::Joint.new("joint", nil, self), |
|
Form::Lettings::Pages::StarterTenancy.new("starter_tenancy", nil, self), |
|
Form::Lettings::Pages::TenancyType.new(nil, nil, self), |
|
Form::Lettings::Pages::StarterTenancyType.new(nil, nil, self), |
|
Form::Lettings::Pages::TenancyLength.new(nil, nil, self), |
|
Form::Lettings::Pages::TenancyLengthAffordableRent.new(nil, nil, self), |
|
Form::Lettings::Pages::TenancyLengthIntermediateRent.new(nil, nil, self), |
|
Form::Lettings::Pages::ShelteredAccommodation.new(nil, nil, self), |
|
].compact |
|
end |
|
end
|
|
|