Use correct permissions

This commit is contained in:
Tom Hubrecht 2021-07-13 02:44:40 +02:00
parent f56cd87358
commit 3e683cd87e
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
</div>
</div>
{% if perms.elections.is_admin %}
{% if perms.elections.election_admin %}
<div class="level-right">
<div class="level-item">
<a class="button is-light is-outlined is-primary" href={% url 'election.create' %}>

View file

@ -11,7 +11,7 @@
</div>
</div>
{% if perms.faqs.is_author %}
{% if perms.faqs.faq_admin %}
<div class="level-right">
<div class="level-item">
<a class="button is-light is-outlined is-primary" href={% url 'faq.create' %}>