18 lines
395 B
18 lines
395 B
2 years ago
|
class Form::Lettings::Pages::Location < ::Form::Page
|
||
3 years ago
|
def initialize(_id, hsh, subsection)
|
||
|
super("location", hsh, subsection)
|
||
|
@header = ""
|
||
|
@description = ""
|
||
|
@depends_on = [{
|
||
|
"needstype" => 2,
|
||
|
"scheme_has_multiple_locations?" => true,
|
||
|
}]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
3 years ago
|
@questions ||= [
|
||
2 years ago
|
Form::Lettings::Questions::LocationId.new(nil, nil, self),
|
||
3 years ago
|
]
|
||
|
end
|
||
|
end
|