Mercurial > public > sg101
annotate gpp/templates/forums/new_topic.html @ 87:515d1daec811
Forums: added intra-page links for posts. Added last_page variable for topic. Conditionally display reply form using last_page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 12 Sep 2009 18:45:35 +0000 |
parents | 5b4c812b448e |
children | 23035afdeae8 |
rev | line source |
---|---|
bgneal@83 | 1 {% extends 'base.html' %} |
bgneal@83 | 2 {% block title %}Forums: New Topic{% endblock %} |
bgneal@83 | 3 {% block content %} |
bgneal@83 | 4 <h2>{{ forum.name }} - New Topic</h2> |
bgneal@83 | 5 |
bgneal@83 | 6 <h3> |
bgneal@83 | 7 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » |
bgneal@83 | 8 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> |
bgneal@83 | 9 </h3> |
bgneal@83 | 10 |
bgneal@83 | 11 <form action="." method="post"> |
bgneal@83 | 12 {{ form.as_p }} |
bgneal@83 | 13 <input type="submit" name="post" value="Submit" /> |
bgneal@83 | 14 </form> |
bgneal@83 | 15 |
bgneal@83 | 16 {% endblock %} |