Updated forgot password and login templates
parent
fcd8773518
commit
89a8b72181
|
@ -1,28 +1,15 @@
|
||||||
extends ../layout
|
extends ../layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
.container
|
.col-sm-8.col-sm-offset-2
|
||||||
.row
|
form(method='POST')
|
||||||
.col-sm-6.col-sm-offset-3
|
legend Forgot Password
|
||||||
br
|
input(type='hidden', name='_csrf', value=token)
|
||||||
br
|
.form-group
|
||||||
form(method='POST')
|
p Enter your email address below and we will send you password reset instructions.
|
||||||
input(type='hidden', name='_csrf', value=token)
|
label.control-label(for='email') Email
|
||||||
legend Forgot Password
|
input.form-control(type='email', name='email', id='email', placeholder='Email', autofocus=true)
|
||||||
div.form-group
|
.form-group
|
||||||
p Enter your email address and we'll send you reset instructions.
|
button.btn.btn-primary(type='submit')
|
||||||
label.sr-only(for='email') Enter Your Email:
|
i.fa.fa-key
|
||||||
input.form-control(type='email', name='email', id='email', placeholder='Your Email', autofocus=true, required)
|
| Reset Password
|
||||||
div.form-group
|
|
||||||
button.btn.btn-primary(type='submit') Reset Password
|
|
||||||
br
|
|
||||||
p Or, if you rembered your password
|
|
||||||
a(href='login') <strong> sign in.</strong>
|
|
||||||
|
|
||||||
//- Form Notes
|
|
||||||
//- ===========================================
|
|
||||||
//- 1) Always add labels!
|
|
||||||
//- Screen readers will have trouble with your forms if you don't include a label for every input.
|
|
||||||
//- NOTE: you can hide the labels using the .sr-only class.
|
|
||||||
//- 2) Use proper HTML5 input types (email, password, date, etc.) This adds some HTML5 validation as
|
|
||||||
//- well as the correct keyboard on mobile devices.
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ extends ../layout
|
||||||
block content
|
block content
|
||||||
.col-sm-8.col-sm-offset-2
|
.col-sm-8.col-sm-offset-2
|
||||||
form(method='POST')
|
form(method='POST')
|
||||||
input(type='hidden', name='_csrf', value=token)
|
|
||||||
legend Sign In
|
legend Sign In
|
||||||
|
input(type='hidden', name='_csrf', value=token)
|
||||||
.form-group
|
.form-group
|
||||||
.btn-group.btn-group-justified
|
.btn-group.btn-group-justified
|
||||||
if secrets.facebookAuth
|
if secrets.facebookAuth
|
||||||
|
|
Loading…
Reference in New Issue