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.
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
|
||
2 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
|