comparison gpp/templates/forums/mod_split_topic.html @ 194:6a5549c2efb5

Implement #62, add support for CSRF protection.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Apr 2010 20:00:56 +0000
parents b8f1dcc9fae4
children 593fb6dbd449
comparison
equal deleted inserted replaced
193:fa7d82bfb100 194:6a5549c2efb5
14 <p> 14 <p>
15 Using the form below, you can split a topic into two. You can either specify which posts get 15 Using the form below, you can split a topic into two. You can either specify which posts get
16 split to the new topic ("Split Selected Posts"), or by selecting a post such that all posts 16 split to the new topic ("Split Selected Posts"), or by selecting a post such that all posts
17 at or below the selection get split ("Split At Selected Post"). 17 at or below the selection get split ("Split At Selected Post").
18 <p> 18 <p>
19 <form action="." method="post"> 19 <form action="." method="post">{% csrf_token %}
20 <table> 20 <table>
21 {{ form.as_table }} 21 {{ form.as_table }}
22 <tr><td>&nbsp;</td><td> 22 <tr><td>&nbsp;</td><td>
23 <input type="submit" name="split-selected" value="Split Selected Posts" /> 23 <input type="submit" name="split-selected" value="Split Selected Posts" />
24 <input type="submit" name="split-at" value="Split At Selected Post" /></td></tr> 24 <input type="submit" name="split-at" value="Split At Selected Post" /></td></tr>