21 lines
530 B
Plaintext
21 lines
530 B
Plaintext
|
extends partials/layout.pug
|
||
|
|
||
|
block title
|
||
|
|Icy Network | Log in
|
||
|
|
||
|
block body
|
||
|
h1 Log in
|
||
|
if message.text
|
||
|
if message.error
|
||
|
.alert.alert-danger
|
||
|
span #{message.text}
|
||
|
else
|
||
|
.alert.alert-success
|
||
|
span #{message.text}
|
||
|
|
||
|
form(method="post")
|
||
|
input#csrf(type="hidden", name="csrf", value=csrf)
|
||
|
input#username(type="text", name="username", placeholder="Username", value=form.username)
|
||
|
input#password(type="password", name="password", placeholder="Password")
|
||
|
button(type="submit") Log in
|