forked from mirrors/bookwyrm
Merge pull request #2127 from bookwyrm-social/add-book
Corrects redirect to confirm mode when adding book
This commit is contained in:
commit
9172d7ff4e
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ class CreateBook(View):
|
|||
|
||||
# go to confirm mode
|
||||
if not parent_work_id or data.get("add_author"):
|
||||
data["confirm_mode"] = True
|
||||
return TemplateResponse(request, "book/edit/edit_book.html", data)
|
||||
|
||||
with transaction.atomic():
|
||||
|
|
Loading…
Reference in a new issue