app/views/panda_cms/admin/posts/index.html.erb in panda_cms-0.5.7 vs app/views/panda_cms/admin/posts/index.html.erb in panda_cms-0.5.8

- old
+ new

@@ -1,10 +1,10 @@ <%= render PandaCms::Admin::ContainerComponent.new do |component| %> <% component.with_heading(text: "Posts", level: 1) do |heading| %> <% heading.with_button(action: :add, text: "Add Post", link: new_admin_post_path) %> <% end %> - <%= render PandaCms::Admin::TableComponent.new(rows: posts) do |table| %> + <%= render PandaCms::Admin::TableComponent.new(term: "post", rows: posts) do |table| %> <% table.column("Title") do |post| %> <div class=""> <%= link_to post.title, edit_admin_post_path(post), class: "block h-full w-full" %> <span class="block text-xs text-black/60"><%= post_path(post) %></span> </div>