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.
19 lines
399 B
19 lines
399 B
2 years ago
|
class Form::Setup::Pages::Scheme < ::Form::Page
|
||
|
def initialize(_id, hsh, subsection)
|
||
|
super("scheme", hsh, subsection)
|
||
|
@header = ""
|
||
|
@description = ""
|
||
|
@questions = questions
|
||
|
@depends_on = [{
|
||
|
"supported_housing_schemes_enabled?" => true,
|
||
|
"needstype" => 2,
|
||
|
}]
|
||
|
end
|
||
|
|
||
|
def questions
|
||
|
[
|
||
|
Form::Setup::Questions::SchemeId.new(nil, nil, self),
|
||
|
]
|
||
|
end
|
||
|
end
|