bgneal@108: {% extends 'base.html' %} bgneal@127: {% load forum_tags %} bgneal@108: {% block title %}Forums: New Post{% endblock %} bgneal@108: {% block custom_js %}{{ form.media }}{% endblock %} bgneal@108: {% block content %} bgneal@108: <h2>Forums: New Post</h2> bgneal@108: bgneal@108: <h3> bgneal@108: <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » bgneal@108: <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » bgneal@108: <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> bgneal@108: </h3> bgneal@108: bgneal@108: {% if can_post %} bgneal@108: <div class="forum-block"> bgneal@108: <a name="forum-reply-form"></a> bgneal@127: {% show_form "New Post" form "Submit Post" 0 MEDIA_URL %} bgneal@108: {% else %} bgneal@108: {% if topic.locked %} bgneal@108: <p>This topic is locked.</p> bgneal@108: {% else %} bgneal@108: <p>You don't have permission to post to this topic.</p> bgneal@108: {% endif %} bgneal@108: {% endif %} bgneal@127: </div> bgneal@108: {% endblock %}