Mercurial > public > sg101
view gpp/templates/downloads/navigation.html @ 21:884839ddbfde
Webinks: added a navigation template tag so views don't have to keep constructing the searc form. Also provided a count of search results on the template.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 19 Apr 2009 21:00:06 +0000 |
parents | dbd703f7d63a |
children | db40c2754580 |
line wrap: on
line source
<form id="downloads-search" action="{% url downloads-search page=1 %}" method="post"> <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>