feat(transaction): #88 include "are you sure" dialog #102

Merged
tim merged 1 commits from 88-you-sure-dialog into prod 2025-05-17 19:36:23 +00:00

View File

@@ -193,6 +193,7 @@ templ TransactionItem(transaction *types.Transaction, accounts, treasureChests m
hx-delete={ "/transaction/" + transaction.Id.String() }
hx-target="closest #transaction"
hx-swap="outerHTML"
hx-confirm="Are you sure you want to delete this transaction?"
class="button button-neglect px-1 flex items-center gap-2"
>
@svg.Delete()