Sha256: 794bcb95301c5969ac8239bece83511cc7e4235e3548ed568661c65a69401e1a

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

<% @page_title = @calendar_date.strftime("Events Calendar %B %Y") %>

<h1><%= @page_title %></h1>

<nav id="events-calendar-nav">
  <%= link_to_previous_calendar_month(@calendar_date) %>
  <%= link_to_next_calendar_month(@calendar_date) %>
</nav>

<%= spud_calendar_for_events(@events, @calendar_date) do |day, events| %>
  <span class="calendar-day">
    <%= day.day %>
  </span>
  <ul class="calendar-events">
    <% events.each do |event| %>
      <li><%= link_to truncate(event.title, :length => 25), calendar_event_path(event.id) %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tb_events-1.3.1 app/views/calendars/show.html.erb
tb_events-1.3.0 app/views/calendars/show.html.erb
tb_events-1.1.2 app/views/calendars/show.html.erb
tb_events-1.2.0.beta1 app/views/calendars/show.html.erb
tb_events-1.1.1 app/views/calendars/show.html.erb