X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/63afb46b7a39881c3a3655af645d5414bdd730ea..67f204b7bf9ce68c685af58bb2efb555164edf0b:/forum/templates/pybb/post_form.html?ds=inline 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 %} - {% 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" %}