confirm dialog on delete account

This commit is contained in:
Per Stark
2025-01-03 23:16:29 +01:00
parent b2562c2fe1
commit adf99cd237

View File

@@ -38,7 +38,9 @@
</button>
</div>
<div class="form-control mt-4">
<button hx-delete="/delete-account" class="btn btn-error w-full">
<button hx-delete="/delete-account"
hx-confirm="This action will permanently delete your account and all data associated. Are you sure you want to continue?"
class="btn btn-error w-full">
Delete Account
</button>
</div>