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

31 lines
947 B
Text
Raw Normal View History

2016-07-26 10:46:41 +00:00
extends ../../layout
block content
.content.content-alt
.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:""})}
2016-08-03 13:06:08 +00:00
em
span.project-name #{project.name}
2016-07-26 10:46:41 +00:00
.row.text-center
.col-md-12
p
2016-07-27 09:56:22 +00:00
| #{translate("accepting_invite_as")} 
2016-07-26 10:46:41 +00:00
em #{user.email}
.row
.col-md-12
form.form(
name="acceptForm",
method="POST",
action="/project/#{invite.projectId}/invite/#{invite._id}/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")
2016-08-03 13:06:08 +00:00
| #{translate("join_project")}
2016-07-26 10:46:41 +00:00
.form-group.text-center