Mercurial > public > sg101
view gpp/templates/forums/new_post.html @ 283:593fb6dbd449
Fixing #125. Developed a forums navigation template tag to consistently display forum navigation.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 04 Oct 2010 00:57:58 +0000 |
parents | 2d299909e074 |
children | 8fd4984d5c3b |
line wrap: on
line source
{% extends 'base.html' %} {% load forum_tags %} {% block title %}Forums: New Post{% endblock %} {% block custom_js %}{{ form.media }}{% endblock %} {% block content %} {% forum_navigation topic "New Post" %} {% if can_post %} <div class="forum-block"> <a name="forum-reply-form"></a> {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %} {% 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 %} </div> {% endblock %}