Unify post in forms templates
This commit is contained in:
parent
f8bc0c209d
commit
5f1fed991b
2 changed files with 3 additions and 3 deletions
|
@ -132,7 +132,7 @@
|
|||
|
||||
{# Rajout d'une option #}
|
||||
{% if election.start_date > current_time %}
|
||||
<form action="{% url 'election.add-option' q.pk %}" method="POST">
|
||||
<form action="{% url 'election.add-option' q.pk %}" method="post">
|
||||
<div class="panel-block field has-addons">
|
||||
{% csrf_token %}
|
||||
|
||||
|
@ -155,7 +155,7 @@
|
|||
{% if election.start_date > current_time %}
|
||||
<div class="columns is-centered" id="q_add">
|
||||
<div class="column is-two-thirds">
|
||||
<form action="{% url 'election.add-question' election.pk %}" method="POST">
|
||||
<form action="{% url 'election.add-question' election.pk %}" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
<div class="field has-addons">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<h1 class="title">{% trans "Modification d'une option" %}</h1>
|
||||
<hr>
|
||||
|
||||
<form action="" method="POST">
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{% include "elections/forms/form.html" with errors=False %}
|
||||
|
|
Loading…
Reference in a new issue