Mercurial > public > sg101
comparison gpp/templates/forums/edit_post.html @ 127:2d299909e074
Adding markdown help to comments and forums. Still need to add it to a few other places that use the markItUp editor.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 16 Nov 2009 01:00:28 +0000 |
parents | 3ae999b0c53b |
children | 593fb6dbd449 |
comparison
equal
deleted
inserted
replaced
126:b0d62247c3e4 | 127:2d299909e074 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load forum_tags %} | |
2 {% block title %}Forums: Edit Post{% endblock %} | 3 {% block title %}Forums: Edit Post{% endblock %} |
3 {% block custom_js %}{{ form.media }}{% endblock %} | 4 {% block custom_js %}{{ form.media }}{% endblock %} |
4 {% block content %} | 5 {% block content %} |
5 <h2>Forums: Edit Post</h2> | 6 <h2>Forums: Edit Post</h2> |
6 | 7 |
14 <table class="forum-topic" id="forum-topic"> | 15 <table class="forum-topic" id="forum-topic"> |
15 {% include 'forums/display_post.html' %} | 16 {% include 'forums/display_post.html' %} |
16 </table> | 17 </table> |
17 | 18 |
18 <a name="forum-reply-form"></a> | 19 <a name="forum-reply-form"></a> |
19 <form action="." method="post" id="forums-quick-reply"> | 20 {% show_form "Edit Post" form "Update Post" 0 MEDIA_URL %} |
20 <fieldset> | |
21 <legend>Edit Post</legend> | |
22 {{ form.as_p }} | |
23 <a href="#" id="more_smileys"> | |
24 <img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a> | |
25 <input type="submit" value="Update Post" id="forums-edit-post" /> | |
26 </fieldset> | |
27 </form> | |
28 </div> | |
29 <div id="smileys_dialog" title="More Smileys"> | |
30 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" /> | |
31 </div> | 21 </div> |
32 {% endblock %} | 22 {% endblock %} |