This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-auth-server/views/register.pug

25 lines
911 B
Plaintext
Raw Normal View History

2022-03-09 18:37:04 +00:00
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