Improved event registration page. Kinda....
This commit is contained in:
parent
61be84a7f9
commit
fff31f5ac0
2 changed files with 34 additions and 9 deletions
|
|
@ -14,14 +14,6 @@
|
|||
= f.inputs 'Pre-registration required for the following:' do
|
||||
|
||||
- @registration.events_ordered.each do |event|
|
||||
%label
|
||||
= hidden_field_tag "registration[event_ids][]", nil
|
||||
= check_box_tag "registration[event_ids][]", event.id, event.registrations.include?(@registration)
|
||||
= event.title
|
||||
.text-muted
|
||||
= registered_text(event)
|
||||
- if event.scheduled?
|
||||
(Scheduled on: #{event.time.to_date})
|
||||
%br
|
||||
= render 'event', event: event, event_schedule: event.event_schedules.first
|
||||
|
||||
= render 'conferences/code_of_conduct', organization: @conference.organization
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue