Mercurial > public > sg101
diff gpp/templates/forums/new_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 | 593fb6dbd449 |
line wrap: on
line diff
--- a/gpp/templates/forums/new_topic.html Sat Nov 14 20:30:31 2009 +0000 +++ b/gpp/templates/forums/new_topic.html Mon Nov 16 01:00:28 2009 +0000 @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load forum_tags %} {% block title %}Forums: New Topic{% endblock %} {% block custom_js %}{{ form.media }}{% endblock %} {% block content %} @@ -9,15 +10,5 @@ <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> </h3> -<form action="." method="post"> -{{ 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" name="post" value="Submit" /> -</form> - -<div id="smileys_dialog" title="More Smileys"> -<img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" /> -</div> - +{% show_form "New Topic" form "Submit" 0 MEDIA_URL %} {% endblock %}