Mercurial > public > sg101
annotate gpp/templates/forums/edit_post.html @ 159:416353def4ca
Added a new posts template tag for the home page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 20 Dec 2009 20:42:19 +0000 |
parents | 2d299909e074 |
children | 593fb6dbd449 |
rev | line source |
---|---|
bgneal@106 | 1 {% extends 'base.html' %} |
bgneal@127 | 2 {% load forum_tags %} |
bgneal@106 | 3 {% block title %}Forums: Edit Post{% endblock %} |
bgneal@106 | 4 {% block custom_js %}{{ form.media }}{% endblock %} |
bgneal@106 | 5 {% block content %} |
bgneal@106 | 6 <h2>Forums: Edit Post</h2> |
bgneal@106 | 7 |
bgneal@106 | 8 <h3> |
bgneal@106 | 9 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » |
bgneal@106 | 10 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » |
bgneal@106 | 11 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> |
bgneal@106 | 12 </h3> |
bgneal@106 | 13 |
bgneal@106 | 14 <div class="forum-block"> |
bgneal@106 | 15 <table class="forum-topic" id="forum-topic"> |
bgneal@106 | 16 {% include 'forums/display_post.html' %} |
bgneal@106 | 17 </table> |
bgneal@106 | 18 |
bgneal@106 | 19 <a name="forum-reply-form"></a> |
bgneal@127 | 20 {% show_form "Edit Post" form "Update Post" 0 MEDIA_URL %} |
bgneal@123 | 21 </div> |
bgneal@106 | 22 {% endblock %} |