mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-18 23:51:10 +00:00
12 lines
564 B
HTML
12 lines
564 B
HTML
{% load fr_display %}
|
|
<span class="hidden-text">Rating</span>
|
|
<div class="stars rate-stars">
|
|
<input type="radio" name="rating" value="" checked></input>
|
|
{% for i in '12345'|make_list %}
|
|
<input id="book{{book.id}}-star-{{ forloop.counter }}" type="radio" name="rating" value="{{ forloop.counter }}"></input>
|
|
<label class="icon icon-star-empty" for="book{{book.id}}-star-{{ forloop.counter }}">
|
|
<span class="hidden-text">{{ forloop.counter }} star{{ forloop.counter | pluralize }}</span>
|
|
</label>
|
|
{% endfor %}
|
|
</div>
|
|
|