extends ../layout.pug
block title
|Icy Network - Log In
block body
.container.mb-4.mt-4
h1 Log in
.row
.col
if message.text
if message.error
.alert.alert-danger
span #{message.text}
else
.alert.alert-success
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")
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
include ../includes/external.pug