Mercurial > public > sg101
view 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 |
line wrap: on
line source
<div class="app-logo"> <img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" /> </div> <form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">{% csrf_token %} <p>{{ search_form.text }} <input type="submit" value="Search" /></p> </form> <ul class="app-menu"> <li><a href="{% url downloads-index %}">Categories</a></li> <li><a href="{% url downloads-new %}">New</a></li> <li><a href="{% url downloads-popular %}">Popular</a></li> <li><a href="{% url downloads-rating %}">Highest Rated</a></li> <li><a href="{% url downloads-random %}">Random</a></li> <li><a href="{% url downloads-add %}">Add</a></li> </ul>