From 2d157137aab4346e01881a312af211a336ec4e4b Mon Sep 17 00:00:00 2001 From: Joel Bradshaw Date: Sun, 17 Jan 2021 02:57:10 -0800 Subject: [PATCH] Fix inline form --- bookwyrm/templates/feed.html | 22 +++++++++---------- .../templates/snippets/progress_update.html | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index d15f7d761..b6c6f7ab9 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -54,17 +54,17 @@
-
-
- {% include 'snippets/shelve_button.html' with book=book %} - {% active_shelf book as active_shelf %} -
- {% if active_shelf.identifier == 'reading' and book.latest_readthrough %} -
- {% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %} -
- {% endif %} -
+
+
+ {% include 'snippets/shelve_button.html' with book=book %} +
+ {% active_shelf book as active_shelf %} + {% if active_shelf.shelf.identifier == 'reading' and book.latest_readthrough %} +
+ {% include 'snippets/progress_update.html' with readthrough=book.latest_readthrough %} +
+ {% endif %} +
{% include 'snippets/create_status.html' with book=book %}
diff --git a/bookwyrm/templates/snippets/progress_update.html b/bookwyrm/templates/snippets/progress_update.html index 9de51b07b..6936429d3 100644 --- a/bookwyrm/templates/snippets/progress_update.html +++ b/bookwyrm/templates/snippets/progress_update.html @@ -12,7 +12,7 @@ + name="progress" size="3" value="{{ readthrough.progress|default:"" }}">
{% if readthrough.progress_mode == 'PG' and book.pages %}