add button for general term and condition

This commit is contained in:
TitouanDor
2026-03-04 15:17:39 +01:00
committed by imperosol
parent 29c0d0be28
commit 922c940fd5
2 changed files with 24 additions and 0 deletions
@@ -71,6 +71,12 @@
<template x-for="[key, value] in Object.entries(data)" :key="key">
<input type="hidden" :name="key" :value="value">
</template>
<input type="checkbox" value="cgv" required>
<label>
{% trans trimmed %}I have read and accept {% endtrans %}
<a href="">{% trans %}the general terms and condition{% endtrans%}</a>
{%trans%}of the student assosiation of the UTBM{% endtrans %}</label>
<br>
<input
x-cloak
type="submit"
@@ -100,6 +106,12 @@
{% else %}
<form method="post" action="{{ url('eboutic:pay_with_sith', basket_id=basket.id) }}" name="sith-pay-form">
{% csrf_token %}
<input type="checkbox" value="cgv" required>
<label>
{% trans trimmed %}I have read and accept {% endtrans %}
<a href="">{% trans %}the general terms and condition{% endtrans%}</a>
{%trans%}of the student assosiation of the UTBM{% endtrans %}</label>
<br>
<input
{% if basket.is_expired %}
disabled="disabled"