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