comparison gpp/templates/downloads/navigation.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 db40c2754580
children 2022c0409296
comparison
equal deleted inserted replaced
193:fa7d82bfb100 194:6a5549c2efb5
1 <div class="app-logo"> 1 <div class="app-logo">
2 <img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" /> 2 <img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" />
3 </div> 3 </div>
4 <form id="downloads-search" action="{% url downloads-search page=1 %}" method="post"> 4 <form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">{% csrf_token %}
5 <p>{{ search_form.text }} <input type="submit" value="Search" /></p> 5 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
6 </form> 6 </form>
7 <ul class="app-menu"> 7 <ul class="app-menu">
8 <li><a href="{% url downloads-index %}">Categories</a></li> 8 <li><a href="{% url downloads-index %}">Categories</a></li>
9 <li><a href="{% url downloads-new %}">New</a></li> 9 <li><a href="{% url downloads-new %}">New</a></li>