2017-05-10 05:05:48 -04:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
|
|
|
.content.content-alt
|
|
|
|
.container
|
|
|
|
.row
|
2017-05-15 06:45:41 -04:00
|
|
|
.col-md-8.col-md-offset-2.col-lg-6.col-lg-offset-3
|
2017-05-10 05:05:48 -04:00
|
|
|
.card
|
|
|
|
.page-header.text-centered
|
2017-05-15 08:37:54 -04:00
|
|
|
h2 #{translate('confirm_password_to_continue')}
|
2017-05-10 05:05:48 -04:00
|
|
|
div
|
|
|
|
.container-fluid
|
|
|
|
.row
|
2017-05-15 06:45:41 -04:00
|
|
|
.col-md-12
|
2017-05-10 05:05:48 -04:00
|
|
|
form(async-form="confirmPassword", name="confirmPassword",
|
2017-05-16 06:51:06 -04:00
|
|
|
action='/confirm-password', method="POST", ng-cloak)
|
2017-05-10 05:05:48 -04:00
|
|
|
input(name='_csrf', type='hidden', value=csrfToken)
|
|
|
|
form-messages(for="confirmPassword")
|
|
|
|
.form-group
|
|
|
|
label
|
|
|
|
| #{translate('password')}
|
|
|
|
input.form-control(
|
|
|
|
type='password',
|
|
|
|
name='password',
|
|
|
|
required,
|
|
|
|
placeholder='********',
|
|
|
|
ng-model="password"
|
|
|
|
)
|
|
|
|
span.small.text-primary(
|
|
|
|
ng-show="confirmPassword.password.$invalid && confirmPassword.password.$dirty"
|
|
|
|
)
|
|
|
|
| #{translate("required")}
|
|
|
|
.actions
|
|
|
|
button.btn-primary.btn(
|
|
|
|
style="width: 100%",
|
|
|
|
type='submit',
|
|
|
|
ng-disabled="confirmPassword.inflight"
|
|
|
|
)
|
|
|
|
span #{translate("confirm")}
|
2017-05-10 06:36:35 -04:00
|
|
|
|
2017-05-15 06:45:41 -04:00
|
|
|
.row.row-spaced-small
|
|
|
|
.col-md-12
|
2017-05-10 06:36:35 -04:00
|
|
|
p.text-centered
|
|
|
|
small
|
2017-05-15 08:37:54 -04:00
|
|
|
| #{translate('confirm_password_footer')}
|
2018-09-13 10:18:00 -04:00
|
|
|
|
|
|
|
p.text-centered
|
|
|
|
small #[a(href='/user/password/reset' target="_blank") Set or reset password]
|