Merge pull request #1820 from dcchambers/delete-board-confirmation

Add card deletion warning to board deletion confirmation message
This commit is contained in:
Jason Zimdars
2025-12-03 13:42:06 -06:00
committed by GitHub
+1 -1
View File
@@ -1,5 +1,5 @@
<%= form_with model: board, 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 %>
<%= form.button class: "btn txt-negative borderless txt-small", data: { turbo_confirm: "Are you sure you want to permanently delete this board and all the cards on it? This can't be undone." } do %>
<%= icon_tag "trash" %>
<span>Delete this board</span>
<% end %>