Mercurial > public > sg101
view gpp/templates/forums/new_post.html @ 123:3ae999b0c53b
Forums: added a jquery ui dialog of extra smileys.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 08 Nov 2009 21:15:31 +0000 |
parents | 80ab249d1adc |
children | 2d299909e074 |
line wrap: on
line source
{% extends 'base.html' %} {% block title %}Forums: New Post{% endblock %} {% block custom_js %}{{ form.media }}{% endblock %} {% block content %} <h2>Forums: New Post</h2> <h3> <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> </h3> {% if can_post %} <div class="forum-block"> <a name="forum-reply-form"></a> <form action="." method="post" id="forums-reply"> <fieldset> <legend>New Post</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 Post" id="forums-new-post" /> </fieldset> </form> </div> <div id="smileys_dialog" title="More Smileys"> <img src="{{ MEDIA_URL }}icons/ajax_busy.gif" alt="Loading" id="smiley_busy" /> </div> {% else %} {% if topic.locked %} <p>This topic is locked.</p> {% else %} <p>You don't have permission to post to this topic.</p> {% endif %} {% endif %} {% endblock %}