overleaf/services/web/app/views/beta_program/opt_in.pug

42 lines
1.4 KiB
Text
Raw Normal View History

2016-06-07 10:15:56 +00:00
extends ../layout
block content
.content.content-alt
.container.beta-opt-in-wrapper
.row
.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
.card
.page-header.text-centered
h1
| #{translate("sharelatex_beta_program")}
.beta-opt-in
.container-fluid
.row
.col-md-12
p.text-centered #{translate("beta_program_benefits")}
2016-06-08 10:38:14 +00:00
p.text-centered
| #{translate("beta_program_badge_description")}
span.beta-feature-badge
2016-06-07 10:15:56 +00:00
.row.text-centered
.col-md-12
if user.betaProgram
p #{translate("beta_program_already_participating")}
form(id="beta-program-opt-out", method="post", action="/beta/opt-out", novalidate)
2016-06-08 14:11:39 +00:00
.form-group
input(type="hidden", name="_csrf", value=csrfToken)
button.btn.btn-primary(
type="submit"
)
span #{translate("beta_program_opt_out_action")}
.form-group
a(href="/project").btn.btn-info #{translate("back_to_your_projects")}
2016-06-07 10:15:56 +00:00
else
form(id="beta-program-opt-in", method="post", action="/beta/opt-in", novalidate)
2016-06-07 10:15:56 +00:00
.form-group
input(type="hidden", name="_csrf", value=csrfToken)
2016-06-08 10:04:44 +00:00
button.btn.btn-primary(
2016-06-07 10:15:56 +00:00
type="submit"
)
span #{translate("beta_program_opt_in_action")}