check shelf.editable instead of custom filter

This commit is contained in:
Hugh Rundle
2021-11-16 19:26:49 +11:00
parent eab2ec0ffd
commit ec39346e67
3 changed files with 6 additions and 17 deletions

View File

@ -9,7 +9,7 @@
{% block dropdown-list %}
{% for shelf in user_shelves %}
{% if shelf.identifier|is_shelf_type:"custom" %}
{% if shelf.editable %}
<li role="menuitem" class="dropdown-item p-0">
<form name="shelve" action="/shelve/" method="post">
{% csrf_token %}