Add the csrf_token to the form for editing document titles. Fixes #1597. Commit ready for merge.

- Legacy-Id: 9007
This commit is contained in:
Robert Sparks 2015-02-06 04:14:03 +00:00
parent c64570c6c0
commit 0cce59b3ef

View file

@ -17,7 +17,7 @@ Change the title for {{titletext}}
{% block content %}
<h1>Change the title for {{titletext}}</h1>
<form class="edit-info" action="" enctype="multipart/form-data" method="POST">
<form class="edit-info" action="" enctype="multipart/form-data" method="post">{% csrf_token %}
<table>
{% for field in form.visible_fields %}
<tr>