Sha256: cc6d62dc1c56add938e6bdb7ef3bfe01197bd1f03acb5cd1eee5eac223072032
Contents?: true
Size: 925 Bytes
Versions: 2
Compression:
Stored size: 925 Bytes
Contents
<% content_for(:title, admin.t("titles.index", default: "Listing %{pluralized_model_name}")) %> <% toolbar(:primary) do |t| %> <%= t.new %> <%= hook("index.toolbar.primary", t) %> <% end %> <% toolbar(:secondary) do |t| %> <%= hook("index.toolbar.secondary", t) %> <% end %> <% content_for(:utilities) do %> <%= render "scopes" %> <% end if admin.scopes.any? %> <%= render layout: "layout" do %> <%= index_turbo_frame 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 %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.10.0 | app/views/trestle/resource/index.html.erb |
trestle-0.10.0.pre2 | app/views/trestle/resource/index.html.erb |