comparison gpp/templates/messages/compose.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 c515b7401078
children
comparison
equal deleted inserted replaced
193:fa7d82bfb100 194:6a5549c2efb5
5 {{ compose_form.media }} 5 {{ compose_form.media }}
6 {% endblock %} 6 {% endblock %}
7 {% block compose-class %}class="active"{% endblock %} 7 {% block compose-class %}class="active"{% endblock %}
8 {% block messages_content %} 8 {% block messages_content %}
9 <h3>Compose Message</h3> 9 <h3>Compose Message</h3>
10 <form action="." method="post"> 10 <form action="." method="post">{% csrf_token %}
11 <table> 11 <table>
12 {{ compose_form.as_table }} 12 {{ compose_form.as_table }}
13 <tr> 13 <tr>
14 <td>&nbsp;</td> 14 <td>&nbsp;</td>
15 <td> 15 <td>