Mercurial > public > sg101
comparison gpp/templates/forums/mod_forum.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 | f8f4514b806a |
children | 593fb6dbd449 |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
12 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> | 12 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> |
13 </h3> | 13 </h3> |
14 | 14 |
15 <div class="forum-block"> | 15 <div class="forum-block"> |
16 {{ page_nav }} | 16 {{ page_nav }} |
17 <form action="." method="post"> | 17 <form action="." method="post">{% csrf_token %} |
18 <table class="forum-index-table"> | 18 <table class="forum-index-table"> |
19 <thead> | 19 <thead> |
20 <tr> | 20 <tr> |
21 <th class="forum-index_title">Topics</th> | 21 <th class="forum-index_title">Topics</th> |
22 <th class="forum-index_replies">Replies</th> | 22 <th class="forum-index_replies">Replies</th> |