diff options
Diffstat (limited to 'gstudio/templates/gstudio/NewTopic1.html')
-rw-r--r-- | gstudio/templates/gstudio/NewTopic1.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/NewTopic1.html b/gstudio/templates/gstudio/NewTopic1.html new file mode 100644 index 0000000..38a61c5 --- /dev/null +++ b/gstudio/templates/gstudio/NewTopic1.html @@ -0,0 +1,20 @@ + +{% extends "gstudio/base.html" %} +{% block content %} +<h1>Add a new Topic</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> + +{% endblock %} |