Mercurial > public > sg101
comparison gpp/templates/bio/member_search.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 | ab7830b067b3 |
children |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
4 {{ form.media }} | 4 {{ form.media }} |
5 {% endblock %} | 5 {% endblock %} |
6 {% block content %} | 6 {% block content %} |
7 <h2>Member Search</h2> | 7 <h2>Member Search</h2> |
8 <p>Looking for a member? Start typing a username in the form below.</p> | 8 <p>Looking for a member? Start typing a username in the form below.</p> |
9 <form action="." method="post"> | 9 <form action="." method="post">{% csrf_token %} |
10 <fieldset> | 10 <fieldset> |
11 <legend>Member Search</legend> | 11 <legend>Member Search</legend> |
12 {{ form.as_p }} | 12 {{ form.as_p }} |
13 <p><input type="submit" value="View Profile" /></p> | 13 <p><input type="submit" value="View Profile" /></p> |
14 </fieldset> | 14 </fieldset> |