view gpp/templates/forums/new_post.html @ 144:49b713bca29d

Podcast: un-inlined the channel items from the channel. That would be too bulky and too much info on one admin screen.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Dec 2009 21:44:22 +0000
parents 2d299909e074
children 593fb6dbd449
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 %}
<h2>Forums: New Post</h2>

<h3>
   <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
   <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
   <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>
{% 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 %}