diff --git a/app/templates/book/favorite_books.html b/app/templates/book/favorite_books.html index c0efd9c..02001b1 100644 --- a/app/templates/book/favorite_books.html +++ b/app/templates/book/favorite_books.html @@ -13,7 +13,7 @@ {% endif %} - {% if current_user.is_authenticated and current_user.stars|length==0 %} + {% if current_user.is_authenticated and books.total<1 %}
@@ -21,7 +21,7 @@ {% endif %}