mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
9 lines
496 B
Text
9 lines
496 B
Text
= form_for(@registration, url: conference_conference_registration_path(@conference.short_title)) do |f|
|
|
= render partial: 'devise/registrations/new_embedded'
|
|
= render partial: 'registration_info', locals: { f: f }
|
|
= f.hidden_field :conference_id, value: @conference.id
|
|
%p.pull-right
|
|
- if @conference.user_registered?(current_user)
|
|
= f.submit 'Update Registration', { class: 'btn btn-primary' }
|
|
- else
|
|
=f.submit 'Register', { class: 'btn btn-primary', id: 'register' }
|