Repeat Event: { eventrepeat.event_name }

Click any box to add or remove the following event:
Start Time: { eventrepeat.start_time }
End Time: { eventrepeat.end_time }

{ week }
{ name }
{ day }
this.ajax_success = function(data) { this.months = data.months; this.occurrences = data.occurrences; this.eventrepeat = data.eventrepeat; this.update(); } this.on("mount",function() { this.ajax({ url: "/event/bulk.json?eventrepeat_id="+uR.getQueryParameter("eventrepeat_id"), }); }); this.on("update",function() { uR.forEach(this.occurrences || [],function(occurrence) { (this.root.querySelector('[value="'+occurrence+'"]')||{}).checked=true; }.bind(this)); var today = this.root.querySelector('[value="'+moment().format("YYYY-M-D")+'"]'); today && today.classList.add("today"); }); doot(e) { if (!e.target.value) { return; } var action = (this.occurrences.indexOf(e.target.value) == -1)?"add":"remove"; this.ajax({ url: "/event/bulk.json?eventrepeat_id="+uR.getQueryParameter("eventrepeat_id"), method: "POST", data: { day_string: e.target.value, action: action }, }); }