app/views/trestle/resource/index.html.erb in trestle-0.10.0 vs app/views/trestle/resource/index.html.erb in trestle-0.10.1

- old
+ new

@@ -12,21 +12,19 @@ <% 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 %> + <% 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 %> + <%= render "trestle/table/table", table: admin.table, collection: collection %> - <footer class="main-content-footer"> - <%= hook("resource.index.footer") %> + <footer class="main-content-footer"> + <%= hook("resource.index.footer") %> - <%= pagination collection: collection, entry_name: admin.model_name, remote: admin.pagination_options[:ajax] %> - </footer> - <% end %> + <%= pagination collection: collection, entry_name: admin.model_name %> + </footer> <% end %>