EventSchedule validations
event, schedule, room and start_time are mandatory in EventSchedule.
This commit is contained in:
parent
354e15a76d
commit
0b26ed5c35
10 changed files with 26 additions and 15 deletions
|
|
@ -68,7 +68,7 @@
|
|||
%dl#proposal-info
|
||||
.col-md-12
|
||||
%dt Date:
|
||||
%dd= @event_schedule.start_time.strftime("%Y %B %e %H:%M") if @event_schedule.try(:start_time)
|
||||
%dd= @event_schedule.start_time.strftime("%Y %B %e %H:%M") if @event_schedule
|
||||
.col-md-12
|
||||
%dt Duration:
|
||||
%dd= show_time(@event.event_type.length)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue