diff options
Diffstat (limited to 'apioforum/templates/create_thread.html')
-rw-r--r-- | apioforum/templates/create_thread.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apioforum/templates/create_thread.html b/apioforum/templates/create_thread.html new file mode 100644 index 0000000..b8d204c --- /dev/null +++ b/apioforum/templates/create_thread.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} +{% block header %} +<h1>{% block title %}create thread{% endblock %}</h1> +{% endblock %} + +{% block content %} +<form action="{{url_for('forum.create_thread')}}", method="POST"> + <label for="title">thread title</label> + <input name="title" id="title"> + <label for="content">thread content</label> + <textarea name="content" id="content"></textarea> + <input type="submit" value="yes"> +</form> +{% endblock %} |