From ec463ff4c812d448b53c3ab8e037204b7dce4e9b Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 6 Nov 2020 12:51:49 -0800 Subject: [PATCH] Confirm deleting readthroughs --- bookwyrm/templates/book.html | 40 ++++++++++++++----- .../templates/snippets/shelve_button.html | 4 +- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index de286d62..9a0ad1e4 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -82,20 +82,16 @@ Edit readthrough dates -
- {% csrf_token %} - - -
+ -
+
+ +
+ + +
{% endfor %} {% if request.user.is_authenticated %} diff --git a/bookwyrm/templates/snippets/shelve_button.html b/bookwyrm/templates/snippets/shelve_button.html index bf1db9b6..eee89728 100644 --- a/bookwyrm/templates/snippets/shelve_button.html +++ b/bookwyrm/templates/snippets/shelve_button.html @@ -87,14 +87,14 @@ {% include 'snippets/privacy_select.html' %}
- +
- +