comparison gpp/templates/forums/edit_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: Edit Post{% endblock %} 3 {% block title %}Forums: Edit 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: Edit Post</h2> 6 {% forum_navigation topic "Edit 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 <div class="forum-block"> 8 <div class="forum-block">
15 <table class="forum-topic" id="forum-topic"> 9 <table class="forum-topic" id="forum-topic">
16 {% include 'forums/display_post.html' %} 10 {% include 'forums/display_post.html' %}
17 </table> 11 </table>