25 lines
911 B
Plaintext
25 lines
911 B
Plaintext
extends partials/layout.pug
|
|
|
|
block title
|
|
|Icy Network | Register
|
|
|
|
block body
|
|
h1 Register
|
|
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#display_name(type="text", name="display_name", placeholder="Display name", value=form.display_name)
|
|
input#email(type="email", name="email", placeholder="Email address", value=form.email)
|
|
input#password(type="password", name="password", placeholder="Password", value=form.password)
|
|
input#password_repeat(type="password", name="password_repeat", placeholder="Confirm password")
|
|
button(type="submit") Create a new account
|
|
a(type="button" href="/login") Log in
|