diff --git a/app/assets/javascripts/property_hire_calendar_frontend.js b/app/assets/javascripts/property_hire_calendar_frontend.js index f2513da..4bb9d37 100644 --- a/app/assets/javascripts/property_hire_calendar_frontend.js +++ b/app/assets/javascripts/property_hire_calendar_frontend.js @@ -162,6 +162,8 @@ var Calendar = function(dom, property_id, valid_range, currentView, display_hire }); }, // events: 'https://fullcalendar.io/demo-events.json', + editable: true, + selectable: true, headerToolbar: false, fixedWeekCount: false, initialView: dview, diff --git a/app/views/admin/property_hires/_admin_hire.html.erb b/app/views/admin/property_hires/_admin_hire.html.erb index 8671fcc..1131fe5 100644 --- a/app/views/admin/property_hires/_admin_hire.html.erb +++ b/app/views/admin/property_hires/_admin_hire.html.erb @@ -110,6 +110,32 @@ all_day_settings = property.all_day_settings %>