Commit ce83d6e2 authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK

Répare le paiement par chèque en donnant une valeur par défaut à method + csrf_token

parent 7c7455f9
......@@ -35,9 +35,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Pay {{ amount }} €
{% endblocktrans %}
</h3>
<form class="form" method="{{ method }}" action="{{ action }}">
<form class="form" method="{{ method | default:"post" }}" action="{{ action }}">
{{ content | safe }}
{% if form %}
{% csrf_token %}
{% bootstrap_form form %}
{% endif %}
{% trans "Pay" as tr_pay %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment