show.html.erb 260 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1
2
3
4
5
6
7
8
9
<div id="calendar"></div>

<template id="events" data-events="<%= @events.to_json %>"></template>

<script>
 /* const cal = document.querySelector('#calendar');
  * var calendar = new Calendar(cal, {
  *     defaultView: 'agendaWeek'
  * }); */ 
Zac Wood's avatar
Zac Wood committed
10
 
Zac Wood's avatar
Zac Wood committed
11
12
 
</script>