2014-05-15 12:16:20 -04: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 Reset your password
|
2014-06-17 11:19:40 -04:00
|
|
|
form(
|
|
|
|
async-form="password-reset",
|
2014-06-18 10:23:00 -04:00
|
|
|
name="passwordResetForm",
|
2014-06-17 11:43:33 -04:00
|
|
|
action="/user/password/set",
|
|
|
|
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")
|
|
|
|
| Your password has been reset.
|
|
|
|
a(href='/login') Login here
|
|
|
|
|
2014-06-09 05:25:38 -04:00
|
|
|
.form-group
|
2014-06-17 11:19:40 -04:00
|
|
|
input.form-control(
|
|
|
|
type='password',
|
|
|
|
name='password',
|
2014-06-18 10:23:00 -04:00
|
|
|
placeholder='new password',
|
|
|
|
required,
|
|
|
|
ng-model="password"
|
2014-06-17 11:19:40 -04:00
|
|
|
)
|
2014-06-18 10:23:00 -04:00
|
|
|
span.small.text-primary(
|
|
|
|
ng-show="passwordResetForm.password.$invalid && passwordResetForm.password.$dirty"
|
|
|
|
) Required
|
2014-06-17 11:19:40 -04:00
|
|
|
input(
|
|
|
|
type="hidden",
|
|
|
|
name="passwordResetToken",
|
|
|
|
value=passwordResetToken
|
|
|
|
)
|
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"
|
|
|
|
) Set new password
|