From 94bce7fd839b2c0231ef17d0ef9b3bcc067a75c4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 16 Oct 2021 07:11:12 -0700 Subject: [PATCH] Use javascript back button on create book page --- bookwyrm/templates/book/edit/edit_book.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bookwyrm/templates/book/edit/edit_book.html b/bookwyrm/templates/book/edit/edit_book.html index ec7b08586..fc11208fd 100644 --- a/bookwyrm/templates/book/edit/edit_book.html +++ b/bookwyrm/templates/book/edit/edit_book.html @@ -108,7 +108,13 @@ {% if not confirm_mode %}
+ {% if book %} {% trans "Cancel" %} + {% else %} + + {% trans "Cancel" %} + + {% endif %}
{% endif %}