app/views/resource/index.html.erb in plutonium-0.6.2 vs app/views/resource/index.html.erb in plutonium-0.8.0
- old
+ new
@@ -1,19 +1,5 @@
-<% content_for :toolbar do %>
- <%= render 'toolbar', resource_class: resource_class,
- parent: current_parent do %>
- <%=
- render partial: 'toolbar_search_input', locals: {
- search_object: @collection.search_object,
- search_field: @collection.search_field
- }
- %>
- <%=
- render partial: 'toolbar_actions', locals: {
- actions: @collection.actions.collection_actions.permitted_for(policy(resource_class)),
- resource: resource_class
- }
- %>
- <% end %>
-<% end %>
+<%= render_component :breadcrumbs, resource_class:, parent: current_parent %>
-<%= render 'table', table: @collection %>
+<%= render_component :dyna_frame_content do %>
+ <%= render "resource_table", collection: @collection %>
+<% end %>