diff --git a/elections/templates/elections/election_admin.html b/elections/templates/elections/election_admin.html index e33db01..8a2acac 100644 --- a/elections/templates/elections/election_admin.html +++ b/elections/templates/elections/election_admin.html @@ -132,7 +132,7 @@ {# Rajout d'une option #} {% if election.start_date > current_time %} -
+
{% csrf_token %} @@ -155,7 +155,7 @@ {% if election.start_date > current_time %}
- + {% csrf_token %}
diff --git a/elections/templates/elections/option_update.html b/elections/templates/elections/option_update.html index 92f44aa..0ade8f4 100644 --- a/elections/templates/elections/option_update.html +++ b/elections/templates/elections/option_update.html @@ -13,7 +13,7 @@

{% trans "Modification d'une option" %}


- + {% csrf_token %} {% include "elections/forms/form.html" with errors=False %}