mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-17 05:36:34 +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>
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% include 'lists/edit_form.html' with controls_text="edit_list" user_groups=user_groups %}
|
{% if request.user == list.user %}
|
||||||
|
{% include 'lists/edit_form.html' with controls_text="edit_list" user_groups=user_groups %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% block panel %}{% endblock %}
|
{% block panel %}{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue