From 6e9ae11aab95a9bc15df9543ea5686b7f107625e Mon Sep 17 00:00:00 2001 From: Kostiantyn Stoliarskyi Date: Fri, 12 May 2023 17:37:43 +0300 Subject: [PATCH] added star logic --- app/templates/book/all.html | 6 +++--- app/templates/book/index.html | 2 +- app/templates/user/profile.html | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/templates/book/all.html b/app/templates/book/all.html index 857428b..7cdad6c 100644 --- a/app/templates/book/all.html +++ b/app/templates/book/all.html @@ -19,9 +19,9 @@ {% endif %}
- - -

{{ book.stars|length }}

+ + + {{ book.stars|length }} diff --git a/app/templates/book/index.html b/app/templates/book/index.html index 3f89170..23d2aeb 100644 --- a/app/templates/book/index.html +++ b/app/templates/book/index.html @@ -32,7 +32,7 @@
-

{{ book.stars|length }}

+ {{ book.stars|length }}
diff --git a/app/templates/user/profile.html b/app/templates/user/profile.html index 3a414e4..761f30c 100644 --- a/app/templates/user/profile.html +++ b/app/templates/user/profile.html @@ -50,9 +50,9 @@

{% endif %}
- - -

{{ book.stars|length }}

+ + + {{ book.stars|length }}