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:
parent
c64570c6c0
commit
0cce59b3ef
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue