aboutsummaryrefslogtreecommitdiff
path: root/views/login.handlebars
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-05-06 21:07:24 +0200
committerMateja <mail@matejamaric.com>2021-05-06 21:07:24 +0200
commit376fae2a3367d5813d088a29c5a62938bd55f762 (patch)
tree3812cbf552d90024550cc2e88e0ba2cf4927f191 /views/login.handlebars
parente0f29f19df909b7a49ac693d82ba5ff085d079a2 (diff)
downloadnode-playground-376fae2a3367d5813d088a29c5a62938bd55f762.tar.gz
node-playground-376fae2a3367d5813d088a29c5a62938bd55f762.zip
Boilerplate for login system.
Diffstat (limited to 'views/login.handlebars')
-rw-r--r--views/login.handlebars14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/login.handlebars b/views/login.handlebars
new file mode 100644
index 0000000..47e2166
--- /dev/null
+++ b/views/login.handlebars
@@ -0,0 +1,14 @@
+<div class="container">
+ <h1 class="mt-2">{{ title }}</h1>
+ <form action="/login" method="post" accept-charset="utf-8">
+ <div class="mb-3">
+ <label for="email" class="form-label">Email:</label>
+ <input name="email" type="email" class="form-control" id="email" required>
+ </div>
+ <div class="mb-3">
+ <label for="password" class="form-label">Password:</label>
+ <input name="password" class="form-control" id="password" required></input>
+ </div>
+ <button type="submit" class="btn">Login</button>
+ </form>
+</div>