Sha256: afbdad4a6d500a802f8db7223caa64d40f2c568ba4ebf62ea2c75c4d99bfdd5e

Contents?: true

Size: 733 Bytes

Versions: 4

Compression:

Stored size: 733 Bytes

Contents

<% content_for(:title, admin.t("titles.index", default: "Listing %{pluralized_model_name}")) %>

<% toolbar(:primary) do |t| %>
  <%= t.new %>
<% end %>

<% content_for(:utilities) do %>
  <%= render "scopes" %>
<% end if admin.scopes.any? %>

<%= render layout: "layout" do %>
  <% if hook?("resource.index.header") %>
    <header class="main-content-header">
      <%= hook("resource.index.header") %>
    </header>
  <% end %>

  <%= render "trestle/table/table", table: admin.table, collection: collection %>

  <footer class="main-content-footer">
    <%= hook("resource.index.footer") %>

    <%= pagination collection: collection, entry_name: admin.model_name, remote: admin.pagination_options[:ajax] %>
  </footer>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.9.8 app/views/trestle/resource/index.html.erb
trestle-0.9.7 app/views/trestle/resource/index.html.erb
trestle-0.9.6 app/views/trestle/resource/index.html.erb
trestle-0.9.5 app/views/trestle/resource/index.html.erb