From bd7a53ba3daf8853707d6df511cc1e31d2a850a3 Mon Sep 17 00:00:00 2001 From: citrons <citrons> Date: Fri, 6 Aug 2021 04:54:23 +0000 Subject: fix thread edit page --- apioforum/templates/config_thread.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apioforum/templates/config_thread.html b/apioforum/templates/config_thread.html index 7403614..383cc9c 100644 --- a/apioforum/templates/config_thread.html +++ b/apioforum/templates/config_thread.html @@ -29,7 +29,7 @@ <a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">cancel</a> </form> -{% if thread.poll is none and has_permission(thread.forum, g.user, "p_create_polls" %} +{% if thread.poll is none and has_permission(thread.forum, g.user, "p_create_polls") %} <h2>create poll</h2> <form method="post" action="{{url_for('thread.create_poll',thread_id=thread.id)}}"> <fieldset> -- cgit v1.2.3