forked from mirrors/bookwyrm
Only show rate action for logged in users
This commit is contained in:
parent
10523e38e8
commit
89e2e75c0b
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% if request.user.is_authenticated %}
|
||||
<span class="is-sr-only">Leave a rating</span>
|
||||
<div class="field is-grouped stars rate-stars">
|
||||
{% for i in '12345'|make_list %}
|
||||
|
@ -14,3 +15,4 @@
|
|||
</form>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue