|
|
|
@ -34,6 +34,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 2), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 2), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 2), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 2), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_2_partner_under_16_value_check", nil, self, person_index: 2) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_2_partner_under_16_value_check", nil, self, person_index: 2) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_2_multiple_partners_value_check", nil, self, person_index: 2) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 2, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 2, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 2), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 2), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
@ -54,6 +55,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 3), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 3), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 3), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 3), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_3_partner_under_16_value_check", nil, self, person_index: 3) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_3_partner_under_16_value_check", nil, self, person_index: 3) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_3_multiple_partners_value_check", nil, self, person_index: 3) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 3, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 3, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 3), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 3), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
@ -74,6 +76,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 4), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 4), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 4), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 4), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_4_partner_under_16_value_check", nil, self, person_index: 4) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_4_partner_under_16_value_check", nil, self, person_index: 4) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_4_multiple_partners_value_check", nil, self, person_index: 4) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 4, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 4, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 4), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 4), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
@ -94,6 +97,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 5), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 5), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 5), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 5), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_5_partner_under_16_value_check", nil, self, person_index: 5) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_5_partner_under_16_value_check", nil, self, person_index: 5) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_5_multiple_partners_value_check", nil, self, person_index: 5) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 5, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 5, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 5), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 5), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
@ -114,6 +118,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 6), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 6), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 6), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 6), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_6_partner_under_16_value_check", nil, self, person_index: 6) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_6_partner_under_16_value_check", nil, self, person_index: 6) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_6_multiple_partners_value_check", nil, self, person_index: 6) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 6, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 6, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 6), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 6), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
@ -134,6 +139,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 7), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 7), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 7), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 7), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_7_partner_under_16_value_check", nil, self, person_index: 7) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_7_partner_under_16_value_check", nil, self, person_index: 7) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_7_multiple_partners_value_check", nil, self, person_index: 7) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 7, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 7, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 7), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 7), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
@ -154,6 +160,7 @@ class Form::Lettings::Subsections::HouseholdCharacteristics < ::Form::Subsection |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 8), |
|
|
|
Form::Lettings::Pages::PersonKnown.new(nil, nil, self, person_index: 8), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 8), |
|
|
|
Form::Lettings::Pages::PersonRelationshipToLead.new(nil, nil, self, person_index: 8), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_8_partner_under_16_value_check", nil, self, person_index: 8) if form.start_year_after_2024?), |
|
|
|
(Form::Lettings::Pages::PartnerUnder16ValueCheck.new("relationship_8_partner_under_16_value_check", nil, self, person_index: 8) if form.start_year_after_2024?), |
|
|
|
|
|
|
|
(Form::Lettings::Pages::MultiplePartnersValueCheck.new("relationship_8_multiple_partners_value_check", nil, self, person_index: 8) if form.start_year_after_2024?), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 8, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 8, person_type: "child"), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 8), |
|
|
|
Form::Lettings::Pages::PersonAge.new(nil, nil, self, person_index: 8), |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
Form::Lettings::Pages::NoFemalesPregnantHouseholdPersonAgeValueCheck.new(nil, nil, self, |
|
|
|
|