annotate gpp/templates/forums/jump_box.html @ 505:a5d11471d031

Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 19:13:38 +0000
parents 768e3568addf
children
rev   line source
bgneal@358 1 {% load url from future %}
bgneal@358 2 <form action="." method="get" id="forum-jumpbox-form">
bgneal@358 3 <select id="forum-jumpbox-select">
bgneal@358 4 <option value="{% url 'forums-forum_index' slug='surfguitar101-website' %}">SurfGuitar101 Website</option>
bgneal@358 5 <option value="{% url 'forums-forum_index' slug='suggestion-box' %}">Suggestion Box</option>
bgneal@358 6 <option value="{% url 'forums-forum_index' slug='sg101-podcast' %}">SG101 Podcast</option>
bgneal@358 7 <option value="{% url 'forums-forum_index' slug='surf-music' %}">Surf Music General Discussion</option>
bgneal@358 8 <option value="{% url 'forums-forum_index' slug='gigs' %}">Show Announcements</option>
bgneal@358 9 <option value="{% url 'forums-forum_index' slug='surf-musician' %}">Surf Musician</option>
bgneal@358 10 <option value="{% url 'forums-forum_index' slug='gear' %}">Gear</option>
bgneal@358 11 <option value="{% url 'forums-forum_index' slug='recording-corner' %}">Recording Corner</option>
bgneal@358 12 <option value="{% url 'forums-forum_index' slug='surf-videos' %}">Surf Videos</option>
bgneal@358 13 <option value="{% url 'forums-forum_index' slug='best-sg101' %}">Best-Of SG101</option>
bgneal@358 14 <option value="{% url 'forums-forum_index' slug='for-sale-trade' %}">For Sale / Trade</option>
bgneal@358 15 <option value="{% url 'forums-forum_index' slug='musicians-gigs-wanted' %}">Musicians &amp; Gigs Wanted</option>
bgneal@358 16 <option value="{% url 'forums-forum_index' slug='shallow-end' %}">The Shallow End</option>
bgneal@358 17 </select>
bgneal@358 18 <button type="button" id="forum-jumpbox-button">Go</button>
bgneal@358 19 </form>