Use correct permissions
This commit is contained in:
parent
f56cd87358
commit
3e683cd87e
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if perms.elections.is_admin %}
|
{% if perms.elections.election_admin %}
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<a class="button is-light is-outlined is-primary" href={% url 'election.create' %}>
|
<a class="button is-light is-outlined is-primary" href={% url 'election.create' %}>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if perms.faqs.is_author %}
|
{% if perms.faqs.faq_admin %}
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<a class="button is-light is-outlined is-primary" href={% url 'faq.create' %}>
|
<a class="button is-light is-outlined is-primary" href={% url 'faq.create' %}>
|
||||||
|
|
Loading…
Reference in a new issue