[feat]Fullcalendar integration done
This commit is contained in:
parent
9d6ab55d13
commit
5296d18c27
9 changed files with 116 additions and 18 deletions
|
|
@ -14,8 +14,8 @@
|
|||
var calendar = new FullCalendar.Calendar(calendarEl, {
|
||||
timeZone: 'UTC',
|
||||
initialView: 'resourceTimeGridDay',
|
||||
resources: "<%= @rooms >",
|
||||
events: "<%= @event_schedules >"
|
||||
resources: #{@rooms.html_safe},
|
||||
events: #{@event_schedules.html_safe}
|
||||
});
|
||||
|
||||
calendar.render();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue