X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/05ce0b5f9bd62d1b369a6718bec1b70e0a4a0fef..963ec6666865c661bb53519cce3f96b9c5fdd0a3:/forum/templates/pybb/post_form.html

diff --git a/forum/templates/pybb/post_form.html b/forum/templates/pybb/post_form.html
index 0ac465b..5db31a4 100644
--- a/forum/templates/pybb/post_form.html
+++ b/forum/templates/pybb/post_form.html
@@ -27,7 +27,7 @@
       {% endfor %}
     </div>
 
-    {% if form.poll_type %}
+    {% if form.poll_type and request.user.is_superuser %}
       {% include "pybb/poll_edit_form.html" %}
     {% endif %}
     {% include "pybb/attachments_formset.html" %}