check shelf.editable instead of custom filter
This commit is contained in:
parent
eab2ec0ffd
commit
ec39346e67
3 changed files with 6 additions and 17 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue