Updates edit/create shelf forms

This commit is contained in:
Mouse Reeve
2021-09-28 16:37:24 -07:00
parent dba0aaff2c
commit 24553e0e35
4 changed files with 29 additions and 33 deletions

View File

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