Sha256: 2dfa8b2b7ab9d04b458d700573016c01f7feb0d567e1e0792e8c44c6cb8db4bf

Contents?: true

Size: 670 Bytes

Versions: 1

Compression:

Stored size: 670 Bytes

Contents

<% if @page_modules.none? %>
<p><%= t('page_modules.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 style='width: 200px'><%= t('general.attributes.published') %></th>
        <th></th>
      </tr>
    </thead>
    <tbody>
      <%= render partial: 'page_modules/page_module', collection: @page_modules %>
    </tbody>
  </table>
  
  <%= will_paginate @page_modules, renderer: BootstrapPagination::Rails %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

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