summaryrefslogtreecommitdiff
path: root/templates/login.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.hbs')
-rw-r--r--templates/login.hbs19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/login.hbs b/templates/login.hbs
new file mode 100644
index 0000000..074122d
--- /dev/null
+++ b/templates/login.hbs
@@ -0,0 +1,19 @@
+{{#*inline "page"}}
+{{#if message}}
+ <b>{{ message }}</b>
+{{/if}}
+<form method="post">
+ <div>
+ <label for="username">Username: </label>
+ <input type="text" name="username" id="username" required>
+ </div>
+ <div>
+ <label for="password">Password: </label>
+ <input type="password" name="password" id="password" required>
+ </div>
+ <div>
+ <input type="submit" value="Log in">
+ </div>
+</form>
+{{/inline}}
+{{~> (parent)~}}