refactors re-shelve button dropdown to be accessible

still looks janky as heck, but fixes #350
This commit is contained in:
Mouse Reeve
2020-11-16 16:34:26 -08:00
parent 699a661f00
commit 680211cff5
2 changed files with 12 additions and 14 deletions

View File

@ -12,7 +12,7 @@
<ul class="dropdown-content">
{% for shelf in request.user.shelf_set.all %}
{% if shelf.identifier != current.identifier %}
<li>
<li role="menuitem">
<form class="dropdown-item pt-0 pb-0" name="shelve" action="/shelve/" method="post">
{% csrf_token %}
<input type="hidden" name="book" value="{{ book.id }}">