mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 04:51:11 +00:00
Merge pull request #2283 from hughrun/halfstars
fix visibility of stars when editing a review
This commit is contained in:
commit
775ee6f590
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
||||||
type="radio"
|
type="radio"
|
||||||
name="rating"
|
name="rating"
|
||||||
value="{{ forloop.counter0 }}.5"
|
value="{{ forloop.counter0 }}.5"
|
||||||
{% if default_rating == forloop.counter %}checked{% endif %}
|
{% if default_rating >= forloop.counter0 %}checked{% endif %}
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
id="{{ type|slugify }}_book{{ book.id }}_star_{{ forloop.counter }}"
|
id="{{ type|slugify }}_book{{ book.id }}_star_{{ forloop.counter }}"
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
type="radio"
|
type="radio"
|
||||||
name="rating"
|
name="rating"
|
||||||
value="{{ forloop.counter }}"
|
value="{{ forloop.counter }}"
|
||||||
{% if default_rating == forloop.counter %}checked{% endif %}
|
{% if default_rating >= forloop.counter %}checked{% endif %}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<label
|
<label
|
||||||
|
|
Loading…
Reference in a new issue