comparison gpp/templates/forums/new_post.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 Post{% endblock %} 3 {% block title %}Forums: New Post{% endblock %}
4 {% block custom_js %}{{ form.media }}{% endblock %} 4 {% block custom_js %}{{ form.media }}{% endblock %}
5 {% block content %} 5 {% block content %}
6 <h2>Forums: New Post</h2> 6 {% forum_navigation topic "New Post" %}
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> &raquo;
11 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
12 </h3>
13 7
14 {% if can_post %} 8 {% if can_post %}
15 <div class="forum-block"> 9 <div class="forum-block">
16 <a name="forum-reply-form"></a> 10 <a name="forum-reply-form"></a>
17 {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %} 11 {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %}