extends ../layout.pug
block title
|Icy Network - Log In
block body
.wrapper
.boxcont
.box#login
h1 Log in
.left
if message.text
if message.error
.message.error
span #{message.text}
else
.message
form#loginForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
label(for="username") Username or Email Address
input(type="text", name="username", id="username")
label(for="password") Password
input(type="password", name="password", id="password")
input(type="submit", value="Log in")
a#create(href="/register") Create an account
span.divider ·
a#create(href="/login/reset") Forgot password?
.right
include ../includes/external.pug