adejs/controllers/auth/templates/login.pug

20 lines
783 B
Plaintext

extends ../../../templates/base.pug
block content
.row
.col
.col
if loginFailed
.alert.alert-danger
| Username or password incorrect. Please try again.
form(method="POST", action=getUrl("loginTarget"))
.form-group
input.form-control(type="text", name="username", placeholder="Username or email", autofocus)
.form-group
input.form-control(type="password", name="password", placeholder="Password")
.form-group
a(href=getUrl('passwordForgotten')) Forgot your password ?
.form-group
input.btn.btn-primary.form-control(type="submit", value="Log in")
.col