comparison 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
comparison
equal deleted inserted replaced
105:08ddfd835305 106:cb72577785df
1 {% extends 'base.html' %}
2 {% block title %}Forums: Edit Post{% endblock %}
3 {% block custom_js %}{{ form.media }}{% endblock %}
4 {% block content %}
5 <h2>Forums: Edit Post</h2>
6
7 <h3>
8 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
9 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
10 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
11 </h3>
12
13 <div class="forum-block">
14 <table class="forum-topic" id="forum-topic">
15 {% include 'forums/display_post.html' %}
16 </table>
17
18 <a name="forum-reply-form"></a>
19 <form action="." method="post" id="forums-quick-reply">
20 <fieldset>
21 <legend>Edit Post</legend>
22 {{ form.as_p }}
23 <input type="submit" value="Update Post" id="forums-edit-post" />
24 </fieldset>
25 </form>
26 </div>
27 {% endblock %}