summaryrefslogtreecommitdiff
path: root/view/timers_list.templ
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-16 23:08:59 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-16 23:08:59 +0200
commit13a85f42183b7373296fa85319d33f1359feaea9 (patch)
treec332d86bc2c6406f0312d0d2f77d8444cb84c51b /view/timers_list.templ
parent4e715ab1e1053698c3eb02c13cc726ce9bd26667 (diff)
Timer token show & reset
Diffstat (limited to 'view/timers_list.templ')
-rw-r--r--view/timers_list.templ1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/timers_list.templ b/view/timers_list.templ
index 3deb7e3..69a8e53 100644
--- a/view/timers_list.templ
+++ b/view/timers_list.templ
@@ -13,6 +13,7 @@ templ timer(t model.Timer) {
href="javascript:void(0);"
hx-delete={ fmt.Sprint("/timer/", t.Id) }
hx-target="closest .timer-row"
+ hx-confirm={ fmt.Sprint("Are you sure you want to delete timer \"", t.Name , "\"?") }
>Delete</a>
</p>
}