aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 15:44:18 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 15:44:18 +0100
commite72034c430eb8e78a87d4b1d312e4a9c11f3df14 (patch)
tree6aa953d3969757ab2de76b525f0840abf0b23e99 /templates/login.html
parent8f5ab6cab3d21029d08e66c5ce99159bdd8a4c7f (diff)
downloadguichet-e72034c430eb8e78a87d4b1d312e4a9c11f3df14.tar.gz
guichet-e72034c430eb8e78a87d4b1d312e4a9c11f3df14.zip
Implement login
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}}