Moves shelf delete button

This commit is contained in:
Mouse Reeve
2021-09-28 17:17:01 -07:00
parent 6d9bf349d1
commit 5ea40e23b7
4 changed files with 22 additions and 17 deletions

View File

@ -85,7 +85,7 @@ class Shelf(View):
"shelves": shelves,
"shelf": shelf,
"books": page,
"edit_form": forms.ShelfForm(instance=shelf),
"edit_form": forms.ShelfForm(instance=shelf if shelf_identifier else None),
"create_form": forms.ShelfForm(),
"page_range": paginated.get_elided_page_range(
page.number, on_each_side=2, on_ends=1