From 89e2e75c0b7c8c8f4b5886de4fcebd3ab208ba7c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 4 Jan 2021 16:50:58 -0800 Subject: [PATCH] Only show rate action for logged in users --- bookwyrm/templates/snippets/rate_action.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/snippets/rate_action.html b/bookwyrm/templates/snippets/rate_action.html index 49cb87ed..dc962d01 100644 --- a/bookwyrm/templates/snippets/rate_action.html +++ b/bookwyrm/templates/snippets/rate_action.html @@ -1,4 +1,5 @@ {% load bookwyrm_tags %} +{% if request.user.is_authenticated %} Leave a rating
{% for i in '12345'|make_list %} @@ -14,3 +15,4 @@ {% endfor %}
+{% endif %}