diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-16 23:08:59 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-16 23:08:59 +0200 |
commit | 13a85f42183b7373296fa85319d33f1359feaea9 (patch) | |
tree | c332d86bc2c6406f0312d0d2f77d8444cb84c51b /view/timers_list.templ | |
parent | 4e715ab1e1053698c3eb02c13cc726ce9bd26667 (diff) |
Timer token show & reset
Diffstat (limited to 'view/timers_list.templ')
-rw-r--r-- | view/timers_list.templ | 1 |
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>
}
|