Error message if signup failed

This commit is contained in:
Thomas Forgione
2017-09-29 10:47:12 +02:00
parent 1b37c6e755
commit ab1ebdd5dd
2 changed files with 29 additions and 3 deletions

View File

@@ -1,11 +1,11 @@
extends ../../../templates/base.pug
block content
if registeringFailed
.alert There was an error.
.row
.col
.col
if signupFailed !== undefined
.alert.alert-danger #{signupFailed}
form(method="POST", action=getUrl("signupTarget"))
.form-group
input.form-control(type='text', name='username', placeholder='Username', autofocus='')