|
|
@@ -1,4 +1,4 @@
|
|
|
-extends ../layout
|
|
|
+extends ../layout-marketing
|
|
|
include ../_mixins/recaptcha
|
|
|
|
|
|
block content
|
|
|
@@ -25,18 +25,17 @@ block content
|
|
|
a(href=`mailto:${settings.adminEmail}`, ng-non-bindable) #{settings.adminEmail}
|
|
|
| .
|
|
|
form(
|
|
|
- async-form="reconfirm-account-request",
|
|
|
+ data-ol-form
|
|
|
name="reconfirmAccountForm"
|
|
|
action="/user/reconfirm",
|
|
|
method="POST",
|
|
|
- ng-cloak
|
|
|
- ng-init="email='"+email+"'"
|
|
|
aria-label=translate('request_reconfirmation_email')
|
|
|
captcha=(showCaptcha ? '' : false),
|
|
|
- captcha-action-name=(showCaptcha ? "passwordReset" : false),
|
|
|
+ captcha-action-name=(showCaptcha ? "passwordReset" : false)
|
|
|
)
|
|
|
+ div(data-ol-form-messages)
|
|
|
+
|
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
|
- form-messages(for="reconfirmAccountForm" role="alert")
|
|
|
.form-group
|
|
|
label(for='email') #{translate("please_enter_email")}
|
|
|
input.form-control(
|
|
|
@@ -45,18 +44,19 @@ block content
|
|
|
name='email',
|
|
|
placeholder='email@example.com',
|
|
|
required,
|
|
|
- ng-model="email",
|
|
|
autofocus
|
|
|
+ value=email
|
|
|
)
|
|
|
- span.small.text-primary(
|
|
|
- ng-show="reconfirmAccountForm.email.$invalid && reconfirmAccountForm.email.$dirty"
|
|
|
- ) #{translate("must_be_email_address")}
|
|
|
.actions
|
|
|
button.btn.btn-primary(
|
|
|
type='submit',
|
|
|
- ng-disabled="reconfirmAccountForm.$invalid"
|
|
|
+ data-ol-disabled-inflight,
|
|
|
aria-label=translate('request_password_reset_to_reconfirm')
|
|
|
- ) #{translate('request_password_reset_to_reconfirm')}
|
|
|
+ )
|
|
|
+ span(data-ol-not-inflight-text)
|
|
|
+ | #{translate('request_password_reset_to_reconfirm')}
|
|
|
+ span(hidden data-ol-inflight-text)
|
|
|
+ | #{translate('request_password_reset_to_reconfirm')}…
|
|
|
.row
|
|
|
.col-sm-12.col-md-6.col-md-offset-3
|
|
|
if showCaptcha
|