Ticket #16031: index.txt-1603.2.diff
File index.txt-1603.2.diff, 1.4 KB (added by , 13 years ago) |
---|
-
docs/ref/contrib/comments/index.txt
219 219 220 220 {% get_comment_form for event as form %} 221 221 <form action="{% comment_form_target %}" method="post"> 222 {% csrf_token %} 222 223 {{ form }} 223 224 <tr> 224 225 <td></td> 225 <td><input type="submit" name="preview" class="submit-post" value="Preview"></td> 226 <td> 227 <input type="submit" name="submit" class="submit-post" value="Post"> 228 <input type="submit" name="preview" class="submit-post" value="Preview"> 229 </td> 226 230 </tr> 227 231 </form> 228 232 -
docs/ref/contrib/comments/example.txt
104 104 fields, timestamps and security hashes --> 105 105 <table> 106 106 <form action="{% comment_form_target %}" method="post"> 107 {% csrf_token %} 107 108 {{ form }} 108 109 <tr> 109 110 <td></td> 110 <td><input type="submit" name="preview" class="submit-post" value="Preview"></td> 111 <td> 112 <input type="submit" name="submit" class="submit-post" value="Post"> 113 <input type="submit" name="preview" class="submit-post" value="Preview"> 114 </td> 111 115 </tr> 112 116 </form> 113 117 </table>