Fix bug that superuser can't leave group
This commit is contained in:
parent
a03624b73e
commit
c269e34873
2 changed files with 9 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
|||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if is_member and not can_edit %}
|
||||
{% if is_member and not is_admin %}
|
||||
<li>
|
||||
<form method="post" action="{{ url('leave_organization', organization.id, organization.slug) }}">
|
||||
{% csrf_token %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue