comparison gpp/templates/forums/new_topic.html @ 283:593fb6dbd449

Fixing #125. Developed a forums navigation template tag to consistently display forum navigation.
author Brian Neal <bgneal@gmail.com>
date Mon, 04 Oct 2010 00:57:58 +0000
parents 2d299909e074
children 8fd4984d5c3b
comparison
equal deleted inserted replaced
282:39664e661c69 283:593fb6dbd449
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load forum_tags %} 2 {% load forum_tags %}
3 {% block title %}Forums: New Topic{% endblock %} 3 {% block title %}Forums: New Topic{% endblock %}
4 {% block custom_js %}{{ form.media }}{% endblock %} 4 {% block custom_js %}{{ form.media }}{% endblock %}
5 {% block content %} 5 {% block content %}
6 <h2>{{ forum.name }} - New Topic</h2> 6 {% forum_navigation forum "New Topic" %}
7
8 <h3>
9 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
10 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a>
11 </h3>
12 7
13 {% show_form "New Topic" form "Submit" 0 MEDIA_URL %} 8 {% show_form "New Topic" form "Submit" 0 MEDIA_URL %}
14 {% endblock %} 9 {% endblock %}