Sha256: 49e28b8dd0310e51ccfa14b34074eb733990512e97f27482f887558ab8e4d26a
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
<%= render 'admin/headers/index', records: @block_layouts, model_name: 'BlockLayout' %> <div class="table-responsive"> <table class="forest-table table table-striped"> <thead> <tr> <th><%= table_sorter title: 'ID', path: :admin_block_layouts_path, scope: :by_id, default_order: :desc %></th> <th>Display Name</th> <th><%= table_sorter title: 'Slug', path: :admin_block_layouts_path, scope: :by_slug, default_order: :asc %></th> <th>Description</th> <th colspan="1"></th> </tr> </thead> <tbody> <% @block_layouts.each do |block_layout| %> <tr> <td><%= block_layout.id %></td> <td><%= block_layout.display_name %></td> <td><%= block_layout.slug %></td> <td><%= block_layout.description %></td> <td width="1"><%= link_to 'Edit', edit_admin_block_layout_path(block_layout), class: 'btn btn-xs btn-primary', role: 'button' %></td> </tr> <% end %> </tbody> </table> </div> <%= paginate @block_layouts %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forest_cms-0.98.1 | app/views/admin/block_layouts/index.html.erb |