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
Raw Normal View History

extends ../layout.pug
2017-08-02 21:24:01 +00:00
block title
|Icy Network - Register
block body
.wrapper
.boxcont
.box#login
2017-08-23 21:42:55 +00:00
h1 Create a new account
2017-08-02 21:24:01 +00:00
.left
2017-08-24 20:02:52 +00:00
if message.text
2017-08-02 21:24:01 +00:00
if message.error
.message.error
2017-08-24 20:02:52 +00:00
span #{message.text}
2017-08-02 21:24:01 +00:00
else
.message
2017-08-24 20:02:52 +00:00
span #{message.text}
2017-08-02 21:24:01 +00:00
form#loginForm(method="POST", action="")
input(type="hidden", name="csrf", value=csrf)
label(for="username") Username
2017-08-23 20:13:45 +00:00
input(type="text", name="username", id="username", value=formkeep.username)
2017-08-02 21:24:01 +00:00
label(for="display_name") Display Name
2017-08-23 20:13:45 +00:00
input(type="text", name="display_name", id="display_name", value=formkeep.display_name)
2017-08-02 21:24:01 +00:00
label(for="email") Email Address
2017-08-23 20:13:45 +00:00
input(type="email", name="email", id="email", value=formkeep.email)
2017-08-02 21:24:01 +00:00
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")
2017-08-02 21:24:01 +00:00
div#repeatcheck(style="display: none")
2017-08-23 22:25:52 +00:00
if recaptcha
script(src='https://www.google.com/recaptcha/api.js')
.g-recaptcha(data-sitekey=recaptcha)
2017-08-02 21:24:01 +00:00
input(type="submit", value="Register")
a#create(href="/login") Log in with an existing account
.right
include ../includes/external.pug