1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: CD23D6039184286B
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 %}