Allow admins to create events without a CFP
Admins can now create events before the CFP is created for example to announce key notes in the splash page. Closes https://github.com/openSUSE/osem/issues/2348
This commit is contained in:
parent
af56498b1e
commit
7e94e0447a
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
||||||
250
|
250
|
||||||
words.
|
words.
|
||||||
|
|
||||||
- if @program.cfp.enable_registrations?
|
- if current_user.is_admin? or @program.cfp.enable_registrations?
|
||||||
= f.inputs 'Enable pre-registration' do
|
= f.inputs 'Enable pre-registration' do
|
||||||
= f.input :require_registration, label: 'Require participants to register to your event'
|
= f.input :require_registration, label: 'Require participants to register to your event'
|
||||||
- message = @event.room ? "Value must be between 1 and #{@event.room.size}" : 'Check room capacity after scheduling.'
|
- message = @event.room ? "Value must be between 1 and #{@event.room.size}" : 'Check room capacity after scheduling.'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue