overleaf/services/web/app/views/project/invite/show.pug
Alf Eaton af78b914df Merge pull request #18729 from overleaf/ae-ng-non-bindable
Remove unused Angular attributes from Pug templates

GitOrigin-RevId: ab3ed4105ea02994924c6dd190dad65fff106c11
2024-06-12 08:04:27 +00:00

34 lines
1.1 KiB
Text

extends ../../layout-marketing
block content
main.content.content-alt#main-content
.container
.row
.col-md-8.col-md-offset-2
.card.project-invite-accept
.page-header.text-centered
h1 #{translate("user_wants_you_to_see_project", {username:owner.first_name, projectname:""})}
br
em #{project.name}
.row.text-center
.col-md-12
p
| #{translate("accepting_invite_as")} 
em #{user.email}
.row
.col-md-12
form.form(
data-ol-regular-form
method="POST",
action="/project/"+invite.projectId+"/invite/token/"+invite.token+"/accept"
)
input(name='_csrf', type='hidden', value=csrfToken)
input(name='token', type='hidden', value=invite.token)
.form-group.text-center
button.btn.btn-lg.btn-primary(
type="submit"
data-ol-disabled-inflight
)
span(data-ol-inflight="idle") #{translate("join_project")}
span(hidden data-ol-inflight="pending") #{translate("joining")}…
.form-group.text-center