%= content_for :page_title, t(".categories") %> <%= content_for :page_actions do %> <%= render DS::Menu.new do |menu| %> <% menu.with_item( variant: "button", text: "Delete all", href: destroy_all_categories_path, method: :delete, icon: "trash-2", confirm: CustomConfirm.for_resource_deletion("all categories", high_severity: true)) %> <% end %> <%= render DS::Link.new( text: t(".new"), variant: "primary", icon: "plus", href: new_category_path, frame: :modal ) %> <% end %>
<%= t(".empty") %>