Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/templates/messages/compose.html Sat Apr 03 02:15:04 2010 +0000 +++ b/gpp/templates/messages/compose.html Sat Apr 03 20:00:56 2010 +0000 @@ -7,7 +7,7 @@ {% block compose-class %}class="active"{% endblock %} {% block messages_content %} <h3>Compose Message</h3> -<form action="." method="post"> +<form action="." method="post">{% csrf_token %} <table> {{ compose_form.as_table }} <tr>