DTP Base provides a scalable and secure Node.js application development harness ready for production service.
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.
 
 
 
 

34 lines
1.7 KiB

extends ../layout/main
block view-content
section.uk-section.uk-section-default.uk-section-small
.uk-container
if process.env.DTP_MEMBER_SIGNUP === 'enabled'
form(method="POST", action="/welcome/signup").uk-form
.uk-card.uk-card-secondary.uk-card-small
.uk-card-header
h1.uk-card-title Create Account
.uk-card-body
.uk-margin
label(for="email").uk-form-label Email address
input(id="email", name="email", type="email", required, placeholder="Enter email address").uk-input
.uk-margin
label(for="username").uk-form-label Username
input(id="username", name="username", type="text", maxlength="30", required, placeholder="Enter username").uk-input
div(uk-grid)
.uk-width-1-2
.uk-margin
label(for="password").uk-form-label Password
input(id="password", name="password", type="password", required, placeholder="Enter password").uk-input
.uk-width-1-2
.uk-margin
label(for="password-verify").uk-form-label Verify password
input(id="password-verify", name="passwordVerify", type="password", required, placeholder="Verify password").uk-input
.uk-card-footer
div(uk-grid).uk-flex-right
.uk-width-auto
a(href="/welcome").uk-button.uk-button-default Cancel
.uk-width-auto
button(type="submit").uk-button.uk-button-primary Create Account
else
.uk-text-large.uk-text-center New account signup is disabled.