view gpp/templates/forums/new_post.html @ 138:7ea842744a57

Ticket #15, add a way to report user profiles.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 21:55:32 +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 %}