Add missing csrf_token in AdminRenderer post form.

This commit is contained in:
Piotr Śniegowski 2015-12-04 23:23:04 +01:00
parent 9f74b8860e
commit 2faa7bc288

View File

@ -166,6 +166,7 @@
<form action="{{ request.get_full_path }}" method="POST" enctype="multipart/form-data" class="form-horizontal" novalidate> <form action="{{ request.get_full_path }}" method="POST" enctype="multipart/form-data" class="form-horizontal" novalidate>
<div class="modal-body"> <div class="modal-body">
<fieldset> <fieldset>
{% csrf_token %}
{{ post_form }} {{ post_form }}
</fieldset> </fieldset>
</div> </div>