aboutsummaryrefslogtreecommitdiff
path: root/views/events_calendar.haml
blob: 0ff4e17bd78134bc6d80646f6a4f02f8226089fc (plain)
1
2
3
4
5
6
7
8
9
10
%h2
  Events Calendar
%p
  %a{:href => "/events/calendar/#{(@month << 1).strftime("%Y-%m")}?"+request.query_string}
    &larr; Previous Month
  = @month.strftime("%b %Y")
  %a{:href => "/events/calendar/#{(@month >> 1).strftime("%Y-%m")}?"+request.query_string}
    Next month &rarr;
= partial('events_form')
= partial('events_calendar')