<div class="container-fluid">
  <div class="row-fluid">
    <div class="span12">
      <%= render 'tabs' %>
    </div>
  </div>

  <div class="row-fluid">
    <div class="span12">
      <h1><%= I18n.t 'calendars.calendar' %></h1>
      <% @calendars.each do |calendar| %>
      <div class="media">
	<a class="pull-left" href="#">
	  <img class="media-object img-circle" src="<%= calendar.picture.thumb.url %>"/>
	</a>
	<div class="media-body">
	  <h4><%= link_to calendar.name, calendar %></h4>
	</div>
      </div>
      <% end %>
    </div>
  </div>
  <div class="row-fluid">
    <div class="span12">
      <%= link_to 'New Calendar', new_calendar_path unless cannot?(:new, Calendar) %>
    </div>
  </div>
</div>
