Commit 0558d133 authored by Michal Čihař's avatar Michal Čihař

CSRF token was missing here

parent 84516e8e
......@@ -28,6 +28,7 @@
{% if user.is_authenticated %}
<form action="{% url 'trans.views.upload_translation' %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
<table>
{{ form.as_table }}
<tr><td></td><td><input type="submit" value="{% trans "Upload" %}" /></td></tr>
......
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