Mercurial > public > sg101
annotate gpp/templates/forums/edit_post.html @ 106:cb72577785df
Forums: implemented the edit post function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 19 Sep 2009 21:49:56 +0000 |
parents | |
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> » |
bgneal@106 | 9 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » |
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 %} |