From cba69f4593168a960e1b7b24d677fa595b024646 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 24 Feb 2026 13:22:12 -0800 Subject: [PATCH] Update layout_templ.go --- weed/admin/view/layout/layout_templ.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/weed/admin/view/layout/layout_templ.go b/weed/admin/view/layout/layout_templ.go index 10868a83e..da88fb5dc 100644 --- a/weed/admin/view/layout/layout_templ.go +++ b/weed/admin/view/layout/layout_templ.go @@ -451,24 +451,20 @@ func LoginForm(title string, errorMessage string, csrfToken string) templ.Compon return templ_7745c5c3_Err } } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "
") - if templ_7745c5c3_Err != nil { - return templ_7745c5c3_Err - } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "\">
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }