31 lines
851 B
Plaintext
31 lines
851 B
Plaintext
extends ../layout.pug
|
|
block title
|
|
|Icy Network - Log In
|
|
|
|
block body
|
|
.container.mb-4.mt-4
|
|
h1 Log in
|
|
.row
|
|
.col-sm-8
|
|
if message.text
|
|
if message.error
|
|
.alert.alert-danger
|
|
span #{message.text}
|
|
else
|
|
.alert.alert-success
|
|
span #{message.text}
|
|
form#loginForm(method="POST", action="")
|
|
input(type="hidden", name="csrf", value=csrf)
|
|
.form-group
|
|
label(for="username") Username or Email Address
|
|
input.form-control(type="text", name="username", id="username")
|
|
.form-group
|
|
label(for="password") Password
|
|
input.form-control(type="password", name="password", id="password")
|
|
button.btn.btn-primary(type="submit") Log in
|
|
a(href="/register") Create an account
|
|
| ·
|
|
a(href="/login/reset") Forgot password?
|
|
aside.col-sm-4
|
|
include ../includes/external.pug
|