diff options
Diffstat (limited to 'views/events_calendar.haml')
-rw-r--r-- | views/events_calendar.haml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/views/events_calendar.haml b/views/events_calendar.haml new file mode 100644 index 0000000..e3cec5e --- /dev/null +++ b/views/events_calendar.haml @@ -0,0 +1,11 @@ +%h2 + Events Calendar + +%p + %a{:href => "/events/calendar/#{(@month-31.days).strftime("%Y-%m")}?"+request.query_string} + ← Previous Month + = @month.strftime("%b %Y") + %a{:href => "/events/calendar/#{(@month+31.days).strftime("%Y-%m")}?"+request.query_string} + Next month → += partial('events_form') += partial('events_calendar') |