2014-02-12 10:23:40 +00:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
|
|
|
- locals.supressDefaultJs = true
|
|
|
|
script(data-main=jsPath+'main.js', src=jsPath+'libs/require.js', baseurl=jsPath)
|
|
|
|
script(src=jsPath+'libs/recurly.min.js')
|
|
|
|
|
2014-07-07 12:43:36 +00:00
|
|
|
.content.content-alt
|
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-md-6.col-md-offset-3
|
|
|
|
.card
|
|
|
|
.page-header
|
2014-08-01 11:34:53 +00:00
|
|
|
h1.text-centered #{translate("update_your_billing_details")}
|
|
|
|
#billingDetailsForm #{translate("loading_billing_form")}...
|
2014-07-07 12:43:36 +00:00
|
|
|
|
2014-02-12 10:23:40 +00:00
|
|
|
|
2014-07-07 12:43:36 +00:00
|
|
|
script(type="text/javascript").
|
2014-02-12 10:23:40 +00:00
|
|
|
Recurly.config(!{recurlyConfig})
|
|
|
|
Recurly.buildBillingInfoUpdateForm({
|
|
|
|
target : "#billingDetailsForm",
|
|
|
|
successURL : "#{successURL}?_csrf=#{csrfToken}",
|
|
|
|
signature : "!{signature}",
|
|
|
|
accountCode : "#{user.id}"
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|