summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-14 20:20:29 +0000
committerubq323 <ubq323>2021-06-14 20:20:29 +0000
commita3b9a43a626966ec0885a0882a4d7f5ee3221803 (patch)
treed049d915c89ecfce74a1952cc3c7fc6ecd67b9f6 /apioforum/templates
parent9960239de2011dc286190a851a3dc035963b109a (diff)
finish all config thread things, currently only changing thread title is supported
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/config_thread.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/apioforum/templates/config_thread.html b/apioforum/templates/config_thread.html
new file mode 100644
index 0000000..b0dd5f0
--- /dev/null
+++ b/apioforum/templates/config_thread.html
@@ -0,0 +1,15 @@
+{% extends 'base.html' %}
+{% block header %}<h1>{% block title %}configure thread '{{thread.title}}'{% endblock %}</h1>{% endblock %}
+{% block content %}
+<form method="post">
+<p>if you want to change the title of this thread, make sure you check the "change title?" box.</p>
+<label for="do_title">change title?</label>
+<input type="checkbox" name="do_title"><br>
+<label for="title">thread title</label>
+<input type="text" id="title" name="title" value="{{thread.title}}">
+<br>
+<p>confirm changes?</p>
+<input type="submit" value="confirm">
+<a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">cancel</a>
+</form>
+{% endblock %}