Fixup: flip the not voted logic
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michal Kunc 2023-01-24 20:47:49 +01:00
parent a573b80f09
commit d4970c6aa4

View File

@ -4,7 +4,7 @@
<h1>Watchlist</h1>
<ul>
{% for movie in object_list %}
<li><a href="{% url 'watchlist:detail' movie.id %}">{{movie.name}}</a>{% if movie in voted_movies %}<sup>*</sup>{% endif %} &mdash; {{movie.score}}</li>
<li><a href="{% url 'watchlist:detail' movie.id %}">{{movie.name}}</a>{% if movie not in voted_movies %}<sup>*</sup>{% endif %} &mdash; {{movie.score}}</li>
{% endfor %}
</ul>
{% if can_add_movie %}