From d59c586e5534a1969b13096af65f79faed71e5c8 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 14 Jan 2021 14:19:30 -0800 Subject: [PATCH] use snippet for modal close buttons --- bookwyrm/templates/feed.html | 2 +- bookwyrm/templates/snippets/finish_reading_modal.html | 2 +- bookwyrm/templates/snippets/start_reading_modal.html | 2 +- bookwyrm/templates/snippets/toggle/toggle_button.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index f02219bc..e1580fa5 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -50,7 +50,7 @@ {% include 'snippets/book_titleby.html' with book=book %}
- + {% include 'snippets/toggle/toggle_button.html' with label="close" controls_text="no-book" class="delete" %}
diff --git a/bookwyrm/templates/snippets/finish_reading_modal.html b/bookwyrm/templates/snippets/finish_reading_modal.html index a057b29d..06874c06 100644 --- a/bookwyrm/templates/snippets/finish_reading_modal.html +++ b/bookwyrm/templates/snippets/finish_reading_modal.html @@ -6,7 +6,7 @@