summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/NewTopic.html
diff options
context:
space:
mode:
Diffstat (limited to 'gstudio/templates/gstudio/NewTopic.html')
-rw-r--r--gstudio/templates/gstudio/NewTopic.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/NewTopic.html b/gstudio/templates/gstudio/NewTopic.html
new file mode 100644
index 0000000..210cd61
--- /dev/null
+++ b/gstudio/templates/gstudio/NewTopic.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+<title>Setting a new Topic</title>
+</head>
+<body>
+<h1>Add a new Topic for The group Discussion</h1>
+{% if errors %}
+<ul>
+{% for error in errors %}
+<li><font color="red">{{ error }}</font></li>
+{% endfor %}
+</ul>
+{% endif %}
+<form action="" method="post">{% csrf_token %}
+<p>Title: <input type="text" name="subject"></p>
+<p>Description: <textarea name="message" rows="10" cols="50"></textarea></p>
+<input type="hidden" value={{user.id}} name = "idusr">
+<input type="submit" value="Submit">
+</form>
+</body>
+</html>