diff options
author | Mateja <mail@matejamaric.com> | 2021-05-06 21:07:24 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-05-06 21:07:24 +0200 |
commit | 376fae2a3367d5813d088a29c5a62938bd55f762 (patch) | |
tree | 3812cbf552d90024550cc2e88e0ba2cf4927f191 /views/register.handlebars | |
parent | e0f29f19df909b7a49ac693d82ba5ff085d079a2 (diff) | |
download | node-playground-376fae2a3367d5813d088a29c5a62938bd55f762.tar.gz node-playground-376fae2a3367d5813d088a29c5a62938bd55f762.zip |
Boilerplate for login system.
Diffstat (limited to 'views/register.handlebars')
-rw-r--r-- | views/register.handlebars | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/views/register.handlebars b/views/register.handlebars new file mode 100644 index 0000000..d18a6b8 --- /dev/null +++ b/views/register.handlebars @@ -0,0 +1,26 @@ +<div class="container"> + <h1 class="mt-2">{{ title }}</h1> + <form action="/register" method="post" accept-charset="utf-8"> + <div class="mb-3"> + <label for="firstname" class="form-label">First name:</label> + <input name="firstname" type="text" class="form-control" id="firstname"> + </div> + <div class="mb-3"> + <label for="lastname" class="form-label">Last name:</label> + <input name="lastname" type="text" class="form-control" id="lastname"> + </div> + <div class="mb-3"> + <label for="email" class="form-label">Email:</label> + <input name="email" type="text" class="form-control" id="email"> + </div> + <div class="mb-3"> + <label for="password" class="form-label">Password:</label> + <input name="password" type="password" class="form-control" id="password"> + </div> + <div class="mb-3"> + <label for="confirmPassword" class="form-label">Confirm password:</label> + <input name="confirmPassword" type="password" class="form-control" id="confirmPassword"> + </div> + <button type="submit" class="btn">Register</button> + </form> +</div> |