Event model improvements
- Drop selected_event_schedule function - Rename scheduled_room and scheduled_start_time to room and time as if there is no selected_schedule, the event is not scheduled.
This commit is contained in:
parent
5001848af7
commit
a578167cf5
13 changed files with 32 additions and 35 deletions
|
|
@ -11,7 +11,7 @@
|
|||
for
|
||||
= @event.title
|
||||
|
||||
- if @event.scheduled_room && (@event_registrations.length > @event.scheduled_room.size)
|
||||
- if @event.room && (@event_registrations.length > @event.room.size)
|
||||
%b Attention:
|
||||
You have more registrations than the capacity of the room!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue