20 lines
402 B
20 lines
402 B
2 years ago
|
class Form::Common::Pages::Organisation < ::Form::Page
|
||
3 years ago
|
def initialize(id, hsh, subsection)
|
||
|
super
|
||
|
@id = "organisation"
|
||
|
@header = ""
|
||
|
@description = ""
|
||
|
@subsection = subsection
|
||
|
end
|
||
|
|
||
|
def questions
|
||
3 years ago
|
@questions ||= [
|
||
2 years ago
|
Form::Common::Questions::OwningOrganisationId.new(nil, nil, self),
|
||
3 years ago
|
]
|
||
|
end
|
||
|
|
||
2 years ago
|
def routed_to?(_log, current_user)
|
||
3 years ago
|
!!current_user&.support?
|
||
3 years ago
|
end
|
||
|
end
|