aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..80642ea
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,12 @@
+{{define "title"}}Log in{{end}}
+
+{{define "body"}}
+<h1>Log in</h1>
+
+<form method="POST">
+ <div>{{ .ErrorMessage }}</div>
+ Username: <input type="text" name="username" value="{{ .Username }}" /><br />
+ Password: <input type="password" name="password" /><br />
+ <input type="submit" value="log in">
+</form>
+{{end}}