overleaf/services/web/app/views/project/invite/show.pug

31 lines
995 B
Text
Raw Normal View History

2016-07-26 06:46:41 -04:00
extends ../../layout
block content
main.content.content-alt#main-content
2016-07-26 06:46:41 -04:00
.container
.row
.col-md-8.col-md-offset-2
.card.project-invite-accept
.page-header.text-centered
h1(ng-non-bindable) #{translate("user_wants_you_to_see_project", {username:owner.first_name, projectname:""})}
br
em(ng-non-bindable) #{project.name}
2016-07-26 06:46:41 -04:00
.row.text-center
.col-md-12
p
2016-07-27 05:56:22 -04:00
| #{translate("accepting_invite_as")} 
em(ng-non-bindable) #{user.email}
2016-07-26 06:46:41 -04:00
.row
.col-md-12
form.form(
name="acceptForm",
method="POST",
2017-01-31 09:57:22 -05:00
action="/project/"+invite.projectId+"/invite/token/"+invite.token+"/accept"
2016-07-26 06:46:41 -04:00
)
input(name='_csrf', type='hidden', value=csrfToken)
2017-01-31 09:57:22 -05:00
input(name='token', type='hidden', value=invite.token)
2016-07-26 06:46:41 -04:00
.form-group.text-center
button.btn.btn-lg.btn-primary(type="submit")
2016-08-03 09:06:08 -04:00
| #{translate("join_project")}
2016-07-26 06:46:41 -04:00
.form-group.text-center