2014-02-12 05:23:40 -05:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
2014-06-09 05:25:38 -04:00
|
|
|
.content.content-alt
|
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
|
|
|
|
.card
|
|
|
|
.page-header
|
|
|
|
h1 Password Reset
|
|
|
|
.messageArea
|
2014-06-17 11:19:40 -04:00
|
|
|
form(
|
|
|
|
async-form="password-reset-request",
|
2014-06-18 10:23:00 -04:00
|
|
|
name="passwordResetForm"
|
2014-06-17 11:43:33 -04:00
|
|
|
action="/user/password/reset",
|
|
|
|
ng-cloak
|
2014-06-17 11:19:40 -04:00
|
|
|
)
|
2014-06-09 05:25:38 -04:00
|
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
2014-06-17 11:19:40 -04:00
|
|
|
form-messages
|
|
|
|
.alert.alert-success(ng-show="success")
|
|
|
|
| You have been sent an email to complete your password reset.
|
2014-06-09 05:25:38 -04:00
|
|
|
.form-group
|
|
|
|
label(for='email') Please enter your email address
|
2014-06-17 11:19:40 -04:00
|
|
|
input.form-control(
|
|
|
|
type='email',
|
|
|
|
name='email',
|
2014-06-18 10:23:00 -04:00
|
|
|
placeholder='email@example.com',
|
|
|
|
required,
|
|
|
|
ng-model="email"
|
2014-06-17 11:19:40 -04:00
|
|
|
)
|
2014-06-18 10:23:00 -04:00
|
|
|
span.small.text-primary(
|
|
|
|
ng-show="passwordResetForm.email.$invalid && passwordResetForm.email.$dirty"
|
|
|
|
) Must be a valid email address
|
2014-06-09 05:25:38 -04:00
|
|
|
.actions
|
2014-06-18 10:23:00 -04:00
|
|
|
button.btn.btn-primary(
|
|
|
|
type='submit',
|
|
|
|
ng-disabled="passwordResetForm.$invalid"
|
|
|
|
) Request password reset
|