mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
extends ../layout.pug
|
|
|
|
block head
|
|
title Register
|
|
|
|
block content
|
|
section.form-wrapper.flex-center.mv-10
|
|
form.form-post(action='/forms/register' method='POST')
|
|
//input(type='hidden' name='_csrf' value=csrf)
|
|
section.postform-row
|
|
.postform-label Username
|
|
.required *
|
|
input#username(type='text', name='username', maxlength='50' required)
|
|
section.postform-row
|
|
.postform-label Password
|
|
.required *
|
|
input#password(type='password', name='password', maxlength='100' required)
|
|
section.postform-row
|
|
.postform-label Confirm Password
|
|
.required *
|
|
input#password(type='password', name='passwordconfirm', maxlength='100' required)
|
|
section.postform-row
|
|
.postform-label Captcha
|
|
.required *
|
|
span.postform-col
|
|
iframe.captcha(src='/captcha.html' width=200 height=110 scrolling='no')
|
|
input#captcha(type='text', name='captcha', autocomplete='off' placeholder='captcha text' pattern=".{6}" required title='6 characters')
|
|
input(type='submit', value='Register')
|
|
p: a(href='/login.html') Login
|
|
p: a(href='/changepassword.html') Change Password
|
|
|