This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/user/register.pug

38 lines
1.3 KiB
Plaintext

extends ../layout.pug
block title
|Icy Network - Register
block body
.wrapper
.boxcont
.box#login
h1 Create a new account
.left
if message.text
if message.error
.message.error
span #{message.text}
else
.message
span #{message.text}
form#loginForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
label(for="username") Username
input(type="text", name="username", id="username", value=formkeep.username)
label(for="display_name") Display Name
input(type="text", name="display_name", id="display_name", value=formkeep.display_name)
label(for="email") Email Address
input(type="email", name="email", id="email", value=formkeep.email)
label(for="password") Password
input(type="password", name="password", id="password")
label(for="password_repeat") Repeat Password
input(type="password", name="password_repeat", id="password_repeat", autocomplete="off")
div#repeatcheck(style="display: none")
if recaptcha
script(src='https://www.google.com/recaptcha/api.js')
.g-recaptcha(data-sitekey=recaptcha)
input(type="submit", value="Register")
a#create(href="/login") Log in with an existing account
.right
include ../includes/external.pug