summaryrefslogtreecommitdiff
path: root/view/timers_list.templ
diff options
context:
space:
mode:
Diffstat (limited to 'view/timers_list.templ')
-rw-r--r--view/timers_list.templ8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/timers_list.templ b/view/timers_list.templ
index c68979c..3deb7e3 100644
--- a/view/timers_list.templ
+++ b/view/timers_list.templ
@@ -37,11 +37,11 @@ templ TimerCreateForm(timerName string, err string) {
templ TimersList(timers []model.Timer, isSignedIn bool) {
<div class="timers-list">
- <h1>Timers</h1>
- for _, t := range timers {
- @timer(t)
- }
if isSignedIn {
+ <h1>Timers</h1>
+ for _, t := range timers {
+ @timer(t)
+ }
<h4>Create timer</h4>
@TimerCreateForm("", "")
}