Fix Half Stars for Rating books

This commit is contained in:
Giebisch 2023-01-07 20:59:32 +01:00
parent 2bd94b1332
commit 892ba563a4

View file

@ -37,7 +37,7 @@
type="radio"
name="rating"
value="{{ forloop.counter0 }}.5"
{% if default_rating > 0 and default_rating >= forloop.counter0 %}checked{% endif %}
{% if default_rating > 0 and default_rating > forloop.counter0 %}checked{% endif %}
/>
<input
id="{{ type|slugify }}_book{{ book.id }}_star_{{ forloop.counter }}"