_agenda.html.erb
889 Bytes
<div id='agenda' class="row">
<div id='events-of-the-day' class='col-lg-6 col-md-6 col-sm-6 col-lg-push-6 col-md-push-6 col-sm-push-6'>
<%= render :partial => 'events/events' %>
</div>
<div class='agenda-calendar col-lg-6 col-md-6 col-sm-6 col-lg-pull-6 col-md-pull-6 col-sm-pull-6'>
<table class='noborder current-month'>
<caption>
<h2><%= show_month(params[:year], params[:month]) %></h2>
<%= link_to_previous_month(params[:year], params[:month], show_month(params[:year], params[:month], :previous => true, :only_month => true)) %>
<%= link_to_next_month(params[:year], params[:month], show_month(params[:year], params[:month], :next => true, :only_month => true)) %>
</caption>
<%= render :partial => 'events/month', :locals => {:calendar => @calendar, :abbreviated => true} %>
</table>
<br clear='both'/>
</div>
</div>