Mercurial > public > sg101
comparison gpp/templates/messages/options.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 | d51743322bb2 |
children |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
8 {% for msg in messages %} | 8 {% for msg in messages %} |
9 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li> | 9 <li{% if msg.tags %} class="{{ msg.tags }}"{% endif %}>{{ msg }}</li> |
10 {% endfor %} | 10 {% endfor %} |
11 </ul> | 11 </ul> |
12 {% endif %} | 12 {% endif %} |
13 <form action="." method="post"> | 13 <form action="." method="post">{% csrf_token %} |
14 <table> | 14 <table> |
15 {{ form.as_table }} | 15 {{ form.as_table }} |
16 <tr> | 16 <tr> |
17 <td> </td> | 17 <td> </td> |
18 <td> | 18 <td> |