From 27ce6f7ad305c30487db1a8ee5e4882bdc929202 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 13 Feb 2024 20:44:23 +0100 Subject: Error handling in forms --- templ/form.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templ/form.tpl') diff --git a/templ/form.tpl b/templ/form.tpl index b17cb1d..deb8d58 100644 --- a/templ/form.tpl +++ b/templ/form.tpl @@ -9,6 +9,9 @@ {{with .Class}}class="{{.}}"{{end}} {{range .Options}} {{.}} {{end}} > + {{range errors}} +

{{.}}

+ {{end}} {{with .Footer}}

{{.}}

{{end}}
{{end}} \ No newline at end of file -- cgit v1.2.3-70-g09d2