Add more details to user/workout delete confirmation

This commit is contained in:
Peter Stockings
2023-03-11 17:31:51 +11:00
parent 0625b1e3bf
commit f402839020
2 changed files with 4 additions and 3 deletions

View File

@@ -30,8 +30,8 @@
<div>{{ u.workouts_count }}</div>
<div class="flex">
<div hx-delete="{{ url_for('delete_user', user_id=u.id) }}"
hx-confirm="Are you sure you wish to delete your account?" hx-target="#users-container"
class="pr-2">
hx-confirm="Are you sure you wish to delete your account {{ u.name }}?"
hx-target="#users-container" class="pr-2">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round"