overleaf/services/web/app/views/user/confirm_email.pug
June Kelly 53698fb980 Merge pull request #5012 from overleaf/jk-de-ng-user-emails-confirm
[web] de-ng the user/emails/confirm page

GitOrigin-RevId: d4b3ceb524627593be05308475b0597242dba8a1
2021-09-17 08:02:58 +00:00

38 lines
1.1 KiB
Text

extends ../layout-marketing
block content
main.content.content-alt#main-content
.container
.row
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
.card
.page-header
h1 #{translate("confirm_email")}
form(
data-ol-form,
data-ol-auto-submit,
name="confirmEmailForm"
action="/user/emails/confirm",
method="POST",
id="confirmEmailForm",
)
input(type="hidden", name="_csrf", value=csrfToken)
input(type="hidden", name="token", value=token)
div(data-ol-not-sent)
div(data-ol-form-messages)
.actions
button.btn-primary.btn.btn-block(
type='submit',
data-ol-disabled-inflight
)
span(data-ol-not-inflight-text)
| #{translate('confirm')}
span(hidden data-ol-inflight-text)
i.fa.fa-fw.fa-spin.fa-spinner(aria-hidden="true")
|  #{translate('confirming')}…
div(hidden data-ol-sent)
.alert.alert-success
| #{translate('thank_you_email_confirmed')}