Mercurial > public > sg101
view gpp/templates/forums/new_post.html @ 109:07be3e39e639
Forums: implemented topic level moderator controls.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 26 Sep 2009 18:03:57 +0000 |
parents | 80ab249d1adc |
children | 3ae999b0c53b |
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 }} <input type="submit" value="Submit Post" id="forums-new-post" /> </fieldset> </form> </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 %}