716 books can be on multiple shelves, but only on one shelf for reading status

This commit is contained in:
Pablo Barton
2021-03-25 19:57:20 -04:00
parent 4095580ef0
commit daf69d2375
6 changed files with 102 additions and 41 deletions

View File

@ -12,6 +12,7 @@
<form class="dropdown-item pt-0 pb-0" name="shelve" action="/shelve/" method="post">
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.id }}">
<input type="hidden" name="change-shelf-from" value={{ current.identifier }}>
<input type="hidden" name="shelf" value="{{ shelf.identifier }}">
<button class="button is-fullwidth is-small" type="submit">{{ shelf.name }}</button>
</form>