From c3b66fc95102b36bf21eacdc960183216683c270 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sat, 13 Apr 2024 23:48:00 +0200 Subject: Show timer, set time on create --- view/timers_list_templ.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/timers_list_templ.go') diff --git a/view/timers_list_templ.go b/view/timers_list_templ.go index af4922d..955ab9a 100644 --- a/view/timers_list_templ.go +++ b/view/timers_list_templ.go @@ -100,7 +100,7 @@ func TimerCreateForm(timerName string, err string) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" placeholder=\"Name\">

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" placeholder=\"Name\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -112,7 +112,7 @@ func TimerCreateForm(timerName string, err string) templ.Component { var templ_7745c5c3_Var7 string templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(err) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `view\timers_list.templ`, Line: 31, Col: 34} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `view\timers_list.templ`, Line: 33, Col: 34} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) if templ_7745c5c3_Err != nil { -- cgit