change shelf var for shelf_selector in book view

This commit is contained in:
Hugh Rundle 2021-11-25 08:20:34 +11:00
parent c704c7eb8f
commit b91915d316
No known key found for this signature in database
GPG key ID: CD23D6039184286B

View file

@ -162,7 +162,7 @@
<li class="box">
{% blocktrans with path=shelf.shelf.local_path shelf_name=shelf.shelf.name %}<a href="{{ path }}">{{ shelf_name }}</a>{% endblocktrans %}
<div class="mb-3">
{% include 'snippets/shelf_selector.html' with current=shelf.shelf class="is-small" readthrough=readthrough %}
{% include 'snippets/shelf_selector.html' with shelf=shelf.shelf class="is-small" readthrough=readthrough %}
</div>
</li>
{% endfor %}