diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/forums/new_topic.html	Sat Aug 29 20:54:16 2009 +0000
@@ -0,0 +1,16 @@
+{% extends 'base.html' %}
+{% block title %}Forums: New Topic{% endblock %}
+{% block content %}
+<h2>{{ forum.name }} - New Topic</h2>
+
+<h3>
+   <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
+   <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a>
+</h3>
+
+<form action="." method="post">
+{{ form.as_p }}
+<input type="submit" name="post" value="Submit" />
+</form>
+
+{% endblock %}