Merge pull request #2401 from snpd25/master

Updated the proposal_form
This commit is contained in:
Ana María Martínez Gómez 2019-03-08 13:18:13 +01:00 committed by GitHub
commit c2bcf2c931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@
250
words.
- if @program.cfp.enable_registrations?
- if current_user.is_admin? or @program.cfp.enable_registrations?
= f.inputs 'Enable pre-registration' do
= 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.'