summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/NewTopic.html
diff options
context:
space:
mode:
authorAnkita <ankita@ankita-Inspiron-N5010.(none)>2012-07-13 12:31:27 +0530
committerAnkita <ankita@ankita-Inspiron-N5010.(none)>2012-07-13 12:31:27 +0530
commit527ab688a8608ded5fc854cf8641228181efa981 (patch)
tree825f17422ce610922f8f34854c5e54db7a7f35ad /gstudio/templates/gstudio/NewTopic.html
parentef3793b349be5744d6ef98a034f0c009159ed85b (diff)
downloadgnowsys-527ab688a8608ded5fc854cf8641228181efa981.tar.gz
this patch was added for metastudio by BITS Pilani team in 2012.
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>