comparison gpp/templates/forums/new_post.html @ 108:80ab249d1adc

Forums: quoting existing posts.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Sep 2009 03:55:50 +0000
parents
children 3ae999b0c53b
comparison
equal deleted inserted replaced
107:e94398f5e027 108:80ab249d1adc
1 {% extends 'base.html' %}
2 {% block title %}Forums: New Post{% endblock %}
3 {% block custom_js %}{{ form.media }}{% endblock %}
4 {% block content %}
5 <h2>Forums: New Post</h2>
6
7 <h3>
8 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
9 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
10 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
11 </h3>
12
13 {% if can_post %}
14 <div class="forum-block">
15 <a name="forum-reply-form"></a>
16 <form action="." method="post" id="forums-reply">
17 <fieldset>
18 <legend>New Post</legend>
19 {{ form.as_p }}
20 <input type="submit" value="Submit Post" id="forums-new-post" />
21 </fieldset>
22 </form>
23 </div>
24 {% else %}
25 {% if topic.locked %}
26 <p>This topic is locked.</p>
27 {% else %}
28 <p>You don't have permission to post to this topic.</p>
29 {% endif %}
30 {% endif %}
31 {% endblock %}