comparison 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
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: New Topic{% endblock %} 3 {% block title %}Forums: New Topic{% endblock %}
3 {% block custom_js %}{{ form.media }}{% endblock %} 4 {% block custom_js %}{{ form.media }}{% endblock %}
4 {% block content %} 5 {% block content %}
5 <h2>{{ forum.name }} - New Topic</h2> 6 <h2>{{ forum.name }} - New Topic</h2>
6 7
7 <h3> 8 <h3>
8 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo; 9 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
9 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> 10 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a>
10 </h3> 11 </h3>
11 12
12 <form action="." method="post"> 13 {% show_form "New Topic" form "Submit" 0 MEDIA_URL %}
13 {{ form.as_p }}
14 <a href="#" id="more_smileys">
15 <img src="{{ MEDIA_URL }}icons/emoticon_smile.png" alt="More smileys" title="More smileys" /></a>
16 <input type="submit" name="post" value="Submit" />
17 </form>
18
19 <div id="smileys_dialog" title="More Smileys">
20 <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" />
21 </div>
22
23 {% endblock %} 14 {% endblock %}