More tweaks to the event registrations page

This commit is contained in:
Michael Ball 2020-07-17 22:48:05 -07:00
parent fff31f5ac0
commit 611277ef67
2 changed files with 12 additions and 8 deletions

View file

@ -13,6 +13,10 @@
- if @conference.program.events.with_registration_open.any? || @registration.events.any?
= f.inputs 'Pre-registration required for the following:' do
-# TODO: This needs to be easier to use.
%p
You are registered for #{pluralize(@registration.events.count, 'event')}.
They are at the end of this list.
- @registration.events_ordered.each do |event|
= render 'event', event: event, event_schedule: event.event_schedules.first