aboutsummaryrefslogtreecommitdiff
path: root/views/events_calendar.haml
blob: e3cec5eca3bec60c9f3d39a18c13d695376fd899 (plain)
1
2
3
4
5
6
7
8
9
10
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')