mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
Répare le paiement par chèque en donnant une valeur par défaut à method + csrf_token
This commit is contained in:
parent
7c7455f9bc
commit
ce83d6e299
1 changed files with 2 additions and 1 deletions
|
@ -35,9 +35,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Pay {{ amount }} €
|
Pay {{ amount }} €
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</h3>
|
</h3>
|
||||||
<form class="form" method="{{ method }}" action="{{ action }}">
|
<form class="form" method="{{ method | default:"post" }}" action="{{ action }}">
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
{% if form %}
|
{% if form %}
|
||||||
|
{% csrf_token %}
|
||||||
{% bootstrap_form form %}
|
{% bootstrap_form form %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% trans "Pay" as tr_pay %}
|
{% trans "Pay" as tr_pay %}
|
||||||
|
|
Loading…
Reference in a new issue