Do not allow registrations without tickets

This commit is contained in:
Michael Ball 2020-06-09 03:19:41 -07:00
parent 907cd182a0
commit 19ac2f8ea1

View file

@ -29,6 +29,6 @@
- if @conference.user_registered?(current_user)
= f.action :submit, button_html: { value: 'Update Registration', class: 'btn btn-primary' }
- else
=f.action :submit, button_html: { value: 'Register', class: 'btn btn-primary', id: 'register' }
= link_to(conference_tickets_path(conference), 'Get Tickets', class: 'btn btn-primary')
.tab-pane{role: 'tabpanel', id: 'signin'}
= render partial: 'devise/shared/sign_in_form_embedded'