annotate gpp/templates/forums/edit_post.html @ 114:535d02d1c017

Forums: Implemented unread status for topics and posts.
author Brian Neal <bgneal@gmail.com>
date Sun, 11 Oct 2009 20:27:07 +0000
parents cb72577785df
children 3ae999b0c53b
rev   line source
bgneal@106 1 {% extends 'base.html' %}
bgneal@106 2 {% block title %}Forums: Edit Post{% endblock %}
bgneal@106 3 {% block custom_js %}{{ form.media }}{% endblock %}
bgneal@106 4 {% block content %}
bgneal@106 5 <h2>Forums: Edit Post</h2>
bgneal@106 6
bgneal@106 7 <h3>
bgneal@106 8 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
bgneal@106 9 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
bgneal@106 10 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
bgneal@106 11 </h3>
bgneal@106 12
bgneal@106 13 <div class="forum-block">
bgneal@106 14 <table class="forum-topic" id="forum-topic">
bgneal@106 15 {% include 'forums/display_post.html' %}
bgneal@106 16 </table>
bgneal@106 17
bgneal@106 18 <a name="forum-reply-form"></a>
bgneal@106 19 <form action="." method="post" id="forums-quick-reply">
bgneal@106 20 <fieldset>
bgneal@106 21 <legend>Edit Post</legend>
bgneal@106 22 {{ form.as_p }}
bgneal@106 23 <input type="submit" value="Update Post" id="forums-edit-post" />
bgneal@106 24 </fieldset>
bgneal@106 25 </form>
bgneal@106 26 </div>
bgneal@106 27 {% endblock %}