Mercurial > public > sg101
comparison gpp/templates/forums/move_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 | c329bfaed4a7 |
children | 593fb6dbd449 |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
8 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » | 8 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » |
9 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> | 9 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> |
10 </h3> | 10 </h3> |
11 | 11 |
12 <div class="forum-block"> | 12 <div class="forum-block"> |
13 <form action="." method="post"> | 13 <form action="." method="post">{% csrf_token %} |
14 <fieldset> | 14 <fieldset> |
15 <legend>Move Topic: {{ topic.name }}</legend> | 15 <legend>Move Topic: {{ topic.name }}</legend> |
16 {{ form.as_p }} | 16 {{ form.as_p }} |
17 <input type="submit" value="Move Topic" /> | 17 <input type="submit" value="Move Topic" /> |
18 </fieldset> | 18 </fieldset> |