bgneal@310: {% load url from future %}
bgneal@280: <form action="." method="get" id="forum-query-form">
bgneal@280:    <select id="forum-query-select">
bgneal@409:       {% if user.is_authenticated %}
bgneal@310:       <option value="{% url 'forums-unread_topics' %}">Show topics with unread posts</option>
bgneal@409:       {% endif %}
bgneal@409:       <option value="{% url 'forums-active_topics' 30 %}">Show active topics</option>
bgneal@310:       <option value="{% url 'forums-unanswered_topics' %}">Show unanswered topics</option>
bgneal@280:       {% if user.is_authenticated %}
bgneal@310:       <option value="{% url 'forums-my_posts' %}">Show my posts</option>
bgneal@310:       <option value="{% url 'forums-manage_favorites' %}">Show my favorite topics</option>
bgneal@310:       <option value="{% url 'forums-manage_subscriptions' %}">Show my subscribed topics</option>
bgneal@280:       {% endif %}
bgneal@280:    </select>
bgneal@280:    <button type="button" id="forum-query-button">Go</button>
bgneal@280: </form>