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
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
	
	
							23 lines
						
					
					
						
							1.1 KiB
						
					
					
				class Form::Lettings::Subsections::HouseholdNeeds < ::Form::Subsection | 
						|
  def initialize(id, hsh, section) | 
						|
    super | 
						|
    @id = "household_needs" | 
						|
    @label = "Household needs" | 
						|
    @depends_on = [{ "non_location_setup_questions_completed?" => true }] | 
						|
  end | 
						|
 | 
						|
  def pages | 
						|
    @pages ||= [ | 
						|
      Form::Lettings::Pages::ArmedForces.new("armed_forces", nil, self), | 
						|
      Form::Lettings::Pages::ArmedForcesServing.new(nil, nil, self), | 
						|
      Form::Lettings::Pages::ArmedForcesInjured.new(nil, nil, self), | 
						|
      Form::Lettings::Pages::Pregnant.new("pregnant", nil, self), | 
						|
      Form::Lettings::Pages::NoFemalesPregnantHouseholdValueCheck.new(nil, nil, self), | 
						|
      Form::Lettings::Pages::FemalesInSoftAgeRangeInPregnantHouseholdValueCheck.new(nil, nil, self), | 
						|
      Form::Lettings::Pages::AccessNeedsExist.new("access_needs_exist", nil, self), | 
						|
      Form::Lettings::Pages::TypeOfAccessNeeds.new(nil, nil, self), | 
						|
      Form::Lettings::Pages::HealthConditions.new("health_conditions", nil, self), | 
						|
      Form::Lettings::Pages::HealthConditionEffects.new(nil, nil, self), | 
						|
    ].compact | 
						|
  end | 
						|
end
 | 
						|
 |