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.
 
 
 
 

20 lines
522 B

class Form::Lettings::Pages::LocationSearch < ::Form::Page
def initialize(_id, hsh, subsection)
super("location_search", hsh, subsection)
@depends_on = [
{
"needstype" => 2,
"scheme_has_multiple_locations?" => true,
"scheme_has_large_number_of_locations?" => true,
},
]
@header = "Location"
@next_unresolved_page_id = :check_answers
end
def questions
@questions ||= [
Form::Lettings::Questions::LocationIdSearch.new(nil, nil, self),
]
end
end