mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-20 05:03:23 +00:00
Merge pull request #540 from ae-utbm/3dsv2-encore-un-patch
remove csrf_token
This commit is contained in:
commit
7079761ffe
@ -103,7 +103,6 @@
|
|||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}" name="bank-pay-form">
|
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}" name="bank-pay-form">
|
||||||
{% csrf_token %}
|
|
||||||
<template x-data x-for="input in $store.billing_inputs.data">
|
<template x-data x-for="input in $store.billing_inputs.data">
|
||||||
<input type="hidden" :name="input['key']" :value="input['value']">
|
<input type="hidden" :name="input['key']" :value="input['value']">
|
||||||
</template>
|
</template>
|
||||||
@ -129,8 +128,7 @@
|
|||||||
const create_billing_info_url = '{{ url("counter:create_billing_info", user_id=request.user.id) }}'
|
const create_billing_info_url = '{{ url("counter:create_billing_info", user_id=request.user.id) }}'
|
||||||
const edit_billing_info_url = '{{ url("counter:edit_billing_info", user_id=request.user.id) }}';
|
const edit_billing_info_url = '{{ url("counter:edit_billing_info", user_id=request.user.id) }}';
|
||||||
const et_data_url = '{{ url("eboutic:et_data") }}'
|
const et_data_url = '{{ url("eboutic:et_data") }}'
|
||||||
let billing_info_exist =
|
let billing_info_exist = {{ "true" if billing_infos else "false" }}
|
||||||
{{ "true" if billing_infos else "false" }}
|
|
||||||
|
|
||||||
{% if billing_infos %}
|
{% if billing_infos %}
|
||||||
const et_data = {{ billing_infos|tojson }}
|
const et_data = {{ billing_infos|tojson }}
|
||||||
|
Loading…
Reference in New Issue
Block a user