diff gpp/templates/forums/topic.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 500e5875a306
line wrap: on
line diff
--- a/gpp/templates/forums/topic.html	Sat Nov 14 20:30:31 2009 +0000
+++ b/gpp/templates/forums/topic.html	Mon Nov 16 01:00:28 2009 +0000
@@ -1,4 +1,5 @@
 {% extends 'base.html' %}
+{% load forum_tags %}
 {% block title %}Forums: {{ topic.name }}{% endblock %}
 {% block custom_js %}{{ form.media }}{% endblock %}
 {% block content %}
@@ -54,18 +55,7 @@
 
 {% if last_page and can_reply %}
 <a name="forum-reply-form"></a>
-<form action="" method="post" id="forums-quick-reply">
-<fieldset>
-<legend>Reply to &quot;{{ topic.name }}&quot;</legend>
-{{ form.as_p }}
-<a href="#" id="more_smileys">
-<img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a>
-<input type="submit" value="Submit Reply" id="forums-reply-post" />
-</fieldset>
-</form>
-<div id="smileys_dialog" title="More Smileys">
-<img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" />
-</div>
+{% show_form "Reply to Topic" form "Submit Reply" 1 MEDIA_URL %}
 {% endif %}
 </div>
 {% endblock %}