mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
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 %}
|
{% load bookwyrm_tags %}
|
||||||
|
{% if request.user.is_authenticated %}
|
||||||
<span class="is-sr-only">Leave a rating</span>
|
<span class="is-sr-only">Leave a rating</span>
|
||||||
<div class="field is-grouped stars rate-stars">
|
<div class="field is-grouped stars rate-stars">
|
||||||
{% for i in '12345'|make_list %}
|
{% for i in '12345'|make_list %}
|
||||||
|
@ -14,3 +15,4 @@
|
||||||
</form>
|
</form>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue