2014-02-12 05:23:40 -05:00
|
|
|
extends ../layout
|
|
|
|
|
2016-10-11 09:30:27 -04:00
|
|
|
block scripts
|
2016-09-23 10:44:47 -04:00
|
|
|
script(src=buildJsPath('libs/recurly.min.js', {fingerprint:false}))
|
2014-02-12 05:23:40 -05:00
|
|
|
|
2016-10-11 09:30:27 -04:00
|
|
|
block content
|
2014-07-07 08:43:36 -04:00
|
|
|
.content.content-alt
|
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-md-6.col-md-offset-3
|
|
|
|
.card
|
|
|
|
.page-header
|
2014-08-01 07:34:53 -04:00
|
|
|
h1.text-centered #{translate("update_your_billing_details")}
|
|
|
|
#billingDetailsForm #{translate("loading_billing_form")}...
|
2014-07-07 08:43:36 -04:00
|
|
|
|
2014-02-12 05:23:40 -05:00
|
|
|
|
2014-07-07 08:43:36 -04:00
|
|
|
script(type="text/javascript").
|
2014-02-12 05:23:40 -05:00
|
|
|
Recurly.config(!{recurlyConfig})
|
|
|
|
Recurly.buildBillingInfoUpdateForm({
|
|
|
|
target : "#billingDetailsForm",
|
2016-08-22 05:09:54 -04:00
|
|
|
successURL : "#{successURL}?_csrf=#{csrfToken}&origin=editBillingDetails",
|
2014-02-12 05:23:40 -05:00
|
|
|
signature : "!{signature}",
|
|
|
|
accountCode : "#{user.id}"
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|