summaryrefslogtreecommitdiff
path: root/templ/form.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templ/form.tpl')
-rw-r--r--templ/form.tpl3
1 files changed, 3 insertions, 0 deletions
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}}
+ <p style="color:red">{{.}}</p>
+ {{end}}
{{with .Footer}}<p>{{.}}</p>{{end}}
<br />
{{end}} \ No newline at end of file