<% 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") %>
<%= hook("resource.index.header") %>
<% end %> <%= render "trestle/table/table", table: admin.table, collection: collection %> <% end %> <% end %>