summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index 0ea2b999..391f0657 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -88,7 +88,7 @@
</td>
</tr>
{% endif %}
- {% if mod %}
+ {% if mod and ((not id and post.mod|hasPermission(config.mod.sticky, board.uri)) or (not id and post.mod|hasPermission(config.mod.lock, board.uri)) or post.mod|hasPermission(config.mod.rawhtml, board.uri)) %}
<tr>
<th>
{% trans %}Flags{% endtrans %}