Sha256: 5de7539bcc8b1f22ff069bb24022174c7780494509ce2f309d34f86b14dd8826

Contents?: true

Size: 421 Bytes

Versions: 32

Compression:

Stored size: 421 Bytes

Contents

<%= will_paginate @resources %>
<div class="<%= ['clearfix', 'pagination_frame', pagination_css_class].compact.join(' ') %>">
  <% group_by_date(@resources).each do |container|
       date = Date.parse((resource_group = container.last).first.created_at.to_s) %>
    <h3><%= l(date, :format => :long ) %></h3>
    <ul>
      <%= render :partial => "resource", :collection => resource_group %>
    </ul>
  <% end %>
</div>

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
refinerycms-resources-0.9.9.12 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.11 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.10 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.9 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.8 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.7 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.5 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.4 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.3 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.2 app/views/admin/resources/_resources.html.erb
refinerycms-resources-0.9.9.1 app/views/admin/resources/_resources.html.erb
refinerycms-0.9.9 resources/app/views/admin/resources/_resources.html.erb