Files
fizzy/app/views/collections/edit/_delete.html.erb
T
Jason Zimdars fbf7b6cda7 No need to create a default collection
The playground is enough
2025-11-03 14:27:20 -06:00

8 lines
354 B
Plaintext

<%= form_with model: collection, class: "txt-align-center margin-block-start-auto", method: :delete do |form| %>
<%= form.button class: "btn txt-negative borderless txt-small", data: { turbo_confirm: "Are you sure you want to permanently delete this board?" } do %>
<%= icon_tag "trash" %>
<span>Delete this board</span>
<% end %>
<% end %>