From 22636041ba8b90ca2c36553bb88498f75a45290f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 17 Jun 2021 17:47:46 -0700 Subject: [PATCH] Use null instead of zero for unrated review --- bookwyrm/templates/snippets/form_rate_stars.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/snippets/form_rate_stars.html b/bookwyrm/templates/snippets/form_rate_stars.html index a53733df..e1e36477 100644 --- a/bookwyrm/templates/snippets/form_rate_stars.html +++ b/bookwyrm/templates/snippets/form_rate_stars.html @@ -11,7 +11,7 @@ class="is-sr-only" type="radio" name="rating" - value="0" + value="" {% if default_rating == 0 or not default_rating %}checked{% endif %} >