Mercurial > public > sg101
view gpp/templates/forums/new_post.html @ 517:666147a2cc08
Moved the imports from the top of the file into the task function. This seemed to prevent some strange import errors that only occurred on the production server. I don't know if the problems were related to mod_wsgi or Python 2.5 or what.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 15 Dec 2011 02:49:16 +0000 |
parents | 8fd4984d5c3b |
children |
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 %} {% 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 %}