views > register.pug | LogSyS
/views/register.pug
Here we have enter email and correct password to get registered.
doctype
html
head
title LogSys
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
body
.container
!= messages('message', locals)
if errors
each error, i in errors
div(class="alert alert-danger") #{error.msg}
if (msg)
div.alert.alert-danger.alert-dismissible
strong Error!
|#{msg}
button.close(type='button' data-dismiss='alert' aria-label='Close')
span(aria-hidden='true') ×
h1 Welcome! This Register page please enter your name and choose your password.
form(action="/register", method="POST")
div
p Your Email
input(type="email" id="email", name="email", class="email")
br
div
p Password
input(type="password", class="password", id="password", name="password" placeholder="password")
br
div
p Confirm Password
input(type="password", class="cpassword", id="cpassword", name="cpassword" placeholder="Confirm Password")
br
div
button(type="submit") SUBMIT
br
br
a(href="/login") Already have account?(login)
br
a(href="/") HOME
Comments
Post a Comment