Sha256: f60317677a9c7c78bb85d6e4218b150045212a994bd73da69e7a003f52f3e7c1

Contents?: true

Size: 619 Bytes

Versions: 2

Compression:

Stored size: 619 Bytes

Contents

<%- closed_or_open = closed_or_open.present? ? closed_or_open : 'closed' -%>
<ul class="events">
  <% events.group_by(&:start_year).each do |year, years_events| %>
  <li><span class="collapsible open"><%= year %></span>
    <ul>
      <% years_events.group_by(&:start_month).each do |month, months_events| %>
      <li><span class="collapsible <%= closed_or_open %>"><%= month %></span>
        <ul>
          <% months_events.each do |event| %>
          <li>
            <%= event_one_liner(event) %>
          </li>
          <% end %>
        </ul>
      </li>
      <% end %>
    </ul>
  </li>
  <% end %>
</ul>  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
event_calendar_engine-0.2.10 app/views/events/_list_group.html.erb
event_calendar_engine-0.2.8 app/views/events/_list_group.html.erb