Fix CSRF failure posting permission change form

Add missing `{% csrf_token %}` in form.

fixes #18
This commit is contained in:
Gunnlaugur Þór Briem 2014-02-10 18:00:32 +00:00
parent 8c5339d5f4
commit c81f252840

View file

@ -23,6 +23,7 @@
{% block content %}<div id="content-main">
<form action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">
{% csrf_token %}
<div>
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
{% if save_on_top %}{% submit_row %}{% endif %}