Add thread creation & deletion

This commit is contained in:
David Hoppenbrouwers
2022-10-07 15:20:17 +02:00
parent 6f3b4de047
commit b96db0b905
8 changed files with 129 additions and 17 deletions

View File

@@ -2,6 +2,7 @@
{% block content %}
<p>{{ description }}</p>
<a href="{{ url_for('new_thread', forum_id = forum_id) }}">Create thread</a>
<ul>
{% for id, title in threads %}
<li><a href="{{ url_for('thread', thread_id = id) }}">{{ title }}</a></li>