diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index d721d4fd..9a75cbe9 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -47,7 +47,7 @@ {% if user_authenticated and can_edit_book %}
- + {% trans "Edit Book" %} diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index ea73f038..7eccfd65 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -295,7 +295,7 @@ urlpatterns = [ views.Book.as_view(), name="book-user-statuses", ), - re_path(r"%s/edit/?$" % BOOK_PATH, views.EditBook.as_view()), + re_path(r"%s/edit/?$" % BOOK_PATH, views.EditBook.as_view(), name="edit-book"), re_path(r"%s/confirm/?$" % BOOK_PATH, views.ConfirmEditBook.as_view()), re_path(r"^create-book/?$", views.EditBook.as_view(), name="create-book"), re_path(r"^create-book/confirm?$", views.ConfirmEditBook.as_view()),