From ae53b479f512080c8232cc41be12514f59fa9ac1 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 30 Jan 2022 08:36:20 -0800 Subject: [PATCH] Fixes status field on report modal form --- bookwyrm/templates/snippets/report_modal.html | 2 +- bookwyrm/templates/snippets/status/generated_status.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bookwyrm/templates/snippets/report_modal.html b/bookwyrm/templates/snippets/report_modal.html index 7d2e52b6..0cf786ec 100644 --- a/bookwyrm/templates/snippets/report_modal.html +++ b/bookwyrm/templates/snippets/report_modal.html @@ -22,7 +22,7 @@ {% csrf_token %} -{% if status %} +{% if status_id %} {% endif %} {% if link %} diff --git a/bookwyrm/templates/snippets/status/generated_status.html b/bookwyrm/templates/snippets/status/generated_status.html index 4051f2c0..35776b84 100644 --- a/bookwyrm/templates/snippets/status/generated_status.html +++ b/bookwyrm/templates/snippets/status/generated_status.html @@ -3,7 +3,6 @@ {% load book_display_tags %} {% load markdown %} {% load i18n %} -{% load cache %} {% if not hide_book %} {% with book=status.book|default:status.mention_books.first %}