mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 21:26:33 +00:00
only show list edit form to list.user
This commit is contained in:
parent
056150d583
commit
714a369246
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@
|
|||
</div>
|
||||
|
||||
<div class="block">
|
||||
{% if request.user == list.user %}
|
||||
{% include 'lists/edit_form.html' with controls_text="edit_list" user_groups=user_groups %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% block panel %}{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue