view gpp/templates/forums/new_post.html @ 110:c329bfaed4a7

Forums: implemented the move topic feature.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Sep 2009 20:19:45 +0000
parents 80ab249d1adc
children 3ae999b0c53b
line wrap: on
line source
{% extends 'base.html' %}
{% 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>
<form action="." method="post" id="forums-reply">
<fieldset>
<legend>New Post</legend>
{{ form.as_p }}
<input type="submit" value="Submit Post" id="forums-new-post" />
</fieldset>
</form>
</div>
{% 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 %}
{% endblock %}