overleaf/services/web/app/views/subscriptions/upgradeToAnnual.jade
Henry Oswald f5618e9d9c added confirm you want to change plan modal
added page and corisponding endpoint to migrate to annual plan
2014-08-27 17:51:10 +01:00

25 lines
721 B
Text

extends ../layout
block content
.content.content-alt
.container
.row
.col-md-6.col-md-offset-3
.card
.page-header
h1.text-centered Move to Annual Billing
if planName.indexOf("student") != -1
| Upgarde from Student to Student Annual and save 20% equivilent to $19.2
if planName.indexOf("collaborator") != -1
| Upgarde from Collaborator to Collaborator Annual and save 20% equivilent to $36
form(action="/user/subscription/upgrade-annual", method="post")
input(name="_csrf", type="hidden", value=csrfToken)
input(name="planName", type="hidden", value=planName)
input.btn.btn-success(type="submit", value="Move to annual billing now")