Fixup: flip the not voted logic
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a573b80f09
commit
d4970c6aa4
@ -4,7 +4,7 @@
|
|||||||
<h1>Watchlist</h1>
|
<h1>Watchlist</h1>
|
||||||
<ul>
|
<ul>
|
||||||
{% for movie in object_list %}
|
{% for movie in object_list %}
|
||||||
<li><a href="{% url 'watchlist:detail' movie.id %}">{{movie.name}}</a>{% if movie in voted_movies %}<sup>*</sup>{% endif %} — {{movie.score}}</li>
|
<li><a href="{% url 'watchlist:detail' movie.id %}">{{movie.name}}</a>{% if movie not in voted_movies %}<sup>*</sup>{% endif %} — {{movie.score}}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% if can_add_movie %}
|
{% if can_add_movie %}
|
||||||
|
Loading…
Reference in New Issue
Block a user