Sha256: 908b6ff60ad08b70dea8536a1dcf52e5607989a4fc4d877c96322dbcdcd85625

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

<% if @page_module_collections.none? %>
<p><%= t('page_module_collections.index.empty_collection') %></p>
<% else %>
  <table class='table table-striped'>
    <thead>
      <tr class='<%= cycle('odd', 'even') %>'>
        <th style='width: 200px'><%= t('general.attributes.title') %></th>
        <th style='width: 200px'><%= t('general.attributes.slug') %></th>
        <th></th>
      </tr>
    </thead>
    <tbody>
      <%= render partial: 'page_module_collections/page_module_collection', collection: @page_module_collections %>
    </tbody>
  </table>
  
  <%= will_paginate @page_module_collections, renderer: BootstrapPagination::Rails %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_page-0.0.6 app/views/page_module_collections/_collection.html.erb