Project

General

Profile

« Previous | Next » 

Revision dee80d5e

Added by Benjamin Dauvergne over 11 years ago

personnes: fix missing csrf token when deleting a worker

View differences:

calebasse/personnes/templates/personnes/worker_update.html
23 23
</h2>
24 24
    <a href="..">Retourner à l'administration du personnel</a>
25 25
    <form action="delete/" method="post" data-confirmation-msg="Êtes-vous sûr de vouloir supprimer le personnel {{object.last_name}} {{object.first_name}} ?" class="form-with-confirmation">
26
      {% csrf_token %}
26 27
      <button>Supprimer</button>
27 28
    </form>
28 29
{% endblock %}

Also available in: Unified diff