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.
|
|
|
class Form::Lettings::Pages::Location < ::Form::Page
|
|
|
|
def initialize(_id, hsh, subsection)
|
|
|
|
super("location", hsh, subsection)
|
|
|
|
@depends_on = [{
|
|
|
|
"needstype" => 2,
|
|
|
|
"scheme_has_multiple_locations?" => true,
|
|
|
|
}]
|
|
|
|
@next_unresolved_page_id = :check_answers
|
|
|
|
end
|
|
|
|
|
|
|
|
def questions
|
|
|
|
@questions ||= [
|
|
|
|
Form::Lettings::Questions::LocationId.new(nil, nil, self),
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|