aboutsummaryrefslogtreecommitdiff
path: root/app/templates/threads/new.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-11 22:49:25 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-11 22:52:37 +0100
commitb1c349cc3558b4642a700a489482ff95b038ce56 (patch)
tree1b8cda09e538d9c571050d26ecbb1d5455dea5c0 /app/templates/threads/new.html
parent40aac38d43c2d7c2220b10a1bef34ac85f960359 (diff)
downloadcheatdb-b1c349cc3558b4642a700a489482ff95b038ce56.tar.xz
Add comment system
Diffstat (limited to 'app/templates/threads/new.html')
-rw-r--r--app/templates/threads/new.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/templates/threads/new.html b/app/templates/threads/new.html
new file mode 100644
index 0000000..22f5b72
--- /dev/null
+++ b/app/templates/threads/new.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+
+{% block title %}
+ New Thread
+{% endblock %}
+
+{% block content %}
+ {% from "macros/forms.html" import render_field, render_submit_field %}
+ <form method="POST" action="" enctype="multipart/form-data">
+ {{ form.hidden_tag() }}
+
+ {{ render_field(form.title) }}
+ {{ render_field(form.comment) }}
+ {{ render_field(form.private) }}
+ {{ render_submit_field(form.submit) }}
+
+ <p>Only the you, the package author, and users of Editor rank and above can read private threads.</p>
+ </form>
+{% endblock %}