Mercurial > public > sg101
annotate gpp/templates/forums/new_topic.html @ 83:5b4c812b448e
Forums: Added the ability to add a new topic. This is very much a work in progress.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 29 Aug 2009 20:54:16 +0000 |
parents | |
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 %} |