Add ability to delete all tags (#2200)

* Add ability to delete all tags

* Downcase resource for confirmation

* Clean up deletion resource names

* titleize button
This commit is contained in:
Alex Hatzenbuhler
2025-05-05 11:43:46 -05:00
committed by GitHub
parent dcc43cb253
commit c022e862aa
11 changed files with 37 additions and 17 deletions

View File

@@ -9,7 +9,7 @@
href: destroy_all_categories_path,
method: :delete,
icon: "trash-2",
confirm: CustomConfirm.for_resource_deletion("All categories", high_severity: true)) %>
confirm: CustomConfirm.for_resource_deletion("all categories", high_severity: true)) %>
<% end %>
<%= render LinkComponent.new(