comparison 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
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: {{ topic.name }}{% endblock %} 3 {% block title %}Forums: {{ topic.name }}{% endblock %}
3 {% block custom_js %}{{ form.media }}{% endblock %} 4 {% block custom_js %}{{ form.media }}{% endblock %}
4 {% block content %} 5 {% block content %}
5 <h2>Forums: {{ topic.name }}</h2> 6 <h2>Forums: {{ topic.name }}</h2>
6 7
52 </div> 53 </div>
53 {% endif %} 54 {% endif %}
54 55
55 {% if last_page and can_reply %} 56 {% if last_page and can_reply %}
56 <a name="forum-reply-form"></a> 57 <a name="forum-reply-form"></a>
57 <form action="" method="post" id="forums-quick-reply"> 58 {% show_form "Reply to Topic" form "Submit Reply" 1 MEDIA_URL %}
58 <fieldset>
59 <legend>Reply to &quot;{{ topic.name }}&quot;</legend>
60 {{ form.as_p }}
61 <a href="#" id="more_smileys">
62 <img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a>
63 <input type="submit" value="Submit Reply" id="forums-reply-post" />
64 </fieldset>
65 </form>
66 <div id="smileys_dialog" title="More Smileys">
67 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" />
68 </div>
69 {% endif %} 59 {% endif %}
70 </div> 60 </div>
71 {% endblock %} 61 {% endblock %}