aboutsummaryrefslogtreecommitdiff
path: root/views/register.handlebars
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-05-06 22:13:15 +0200
committerMateja <mail@matejamaric.com>2021-05-06 22:13:46 +0200
commit143755e5e8a53eeee9f5b2fa7e3b76866c9673d7 (patch)
tree631f4319d56faea06c76e64728e62cc68162a057 /views/register.handlebars
parentad5d861561e4f55289d55c61c71c14958659aea4 (diff)
downloadnode-playground-143755e5e8a53eeee9f5b2fa7e3b76866c9673d7.tar.gz
node-playground-143755e5e8a53eeee9f5b2fa7e3b76866c9673d7.zip
Adding new users without validation.
Also set input type to password in `login.handlebars`.
Diffstat (limited to 'views/register.handlebars')
-rw-r--r--views/register.handlebars3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/register.handlebars b/views/register.handlebars
index d18a6b8..a2c9f4d 100644
--- a/views/register.handlebars
+++ b/views/register.handlebars
@@ -1,5 +1,8 @@
<div class="container">
<h1 class="mt-2">{{ title }}</h1>
+ {{#if msg}}
+ <div class="alert alert-warning" role="alert">{{msg}}</div>
+ {{/if}}
<form action="/register" method="post" accept-charset="utf-8">
<div class="mb-3">
<label for="firstname" class="form-label">First name:</label>