summaryrefslogtreecommitdiff
path: root/templ/login.tpl
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-13 20:44:23 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-13 20:44:23 +0100
commit27ce6f7ad305c30487db1a8ee5e4882bdc929202 (patch)
tree1c6cbcaf5e86f160a34315502cb295648e99d6d3 /templ/login.tpl
parent18ed79e026aa301ffed60ab86f6df7adca981ccb (diff)
downloadgosten-27ce6f7ad305c30487db1a8ee5e4882bdc929202.tar.gz
gosten-27ce6f7ad305c30487db1a8ee5e4882bdc929202.tar.bz2
gosten-27ce6f7ad305c30487db1a8ee5e4882bdc929202.zip
Error handling in forms
Diffstat (limited to 'templ/login.tpl')
-rw-r--r--templ/login.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templ/login.tpl b/templ/login.tpl
index 40d49c9..d704365 100644
--- a/templ/login.tpl
+++ b/templ/login.tpl
@@ -1,6 +1,6 @@
{{define "body"}}
<form action="/login" method="post">
- {{inputs_for .}}
+ {{inputs_and_errors_for . .Errors}}
<button type="submit">Log In!</button>
</form>
{{end}} \ No newline at end of file