Code

Ticket #16031: index.txt-1603.1.2.diff

File index.txt-1603.1.2.diff, 739 bytes (added by danielquinn, 3 years ago)

Fixed the patch so that it can be applied from the root.

Line 
1Index: docs/ref/contrib/comments/index.txt
2===================================================================
3--- docs/ref/contrib/comments/index.txt (revision 16349)
4+++ docs/ref/contrib/comments/index.txt (working copy)
5@@ -219,10 +219,14 @@
6 
7     {% get_comment_form for event as form %}
8     <form action="{% comment_form_target %}" method="post">
9+      {% csrf_token %}
10       {{ form }}
11       <tr>
12         <td></td>
13-        <td><input type="submit" name="preview" class="submit-post" value="Preview"></td>
14+        <td>
15+          <input type="submit" name="submit" class="submit-post" value="Post">
16+          <input type="submit" name="preview" class="submit-post" value="Preview">
17+        </td>
18       </tr>
19     </form>
20