Sha256: d694c0e22e1b1b7f89eb2428b6bd39ade8278c48f2edceb22e44b8e0537aede7
Contents?: true
Size: 795 Bytes
Versions: 1
Compression:
Stored size: 795 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 %> <%= 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trestle-0.10.0.pre | app/views/trestle/resource/index.html.erb |