annotate gpp/templates/forums/new_post.html @ 230:5ee9422ce83c

Fix lack of trailing slash on the individual forum RSS feed links. For some reason this was causing a bizarre middleware error 'request object has not attribute session'.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Jul 2010 03:51:37 +0000
parents 2d299909e074
children 593fb6dbd449
rev   line source
bgneal@108 1 {% extends 'base.html' %}
bgneal@127 2 {% load forum_tags %}
bgneal@108 3 {% block title %}Forums: New Post{% endblock %}
bgneal@108 4 {% block custom_js %}{{ form.media }}{% endblock %}
bgneal@108 5 {% block content %}
bgneal@108 6 <h2>Forums: New Post</h2>
bgneal@108 7
bgneal@108 8 <h3>
bgneal@108 9 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
bgneal@108 10 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
bgneal@108 11 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
bgneal@108 12 </h3>
bgneal@108 13
bgneal@108 14 {% if can_post %}
bgneal@108 15 <div class="forum-block">
bgneal@108 16 <a name="forum-reply-form"></a>
bgneal@127 17 {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %}
bgneal@108 18 {% else %}
bgneal@108 19 {% if topic.locked %}
bgneal@108 20 <p>This topic is locked.</p>
bgneal@108 21 {% else %}
bgneal@108 22 <p>You don't have permission to post to this topic.</p>
bgneal@108 23 {% endif %}
bgneal@108 24 {% endif %}
bgneal@127 25 </div>
bgneal@108 26 {% endblock %}