{% comment %} Takes in: - {{ film }} = Film - {{ film.score }} = int - {{ film.vote_set.user }} - {{ film.has_user_voted }} = Bool - {{ film.user_vote }} = Vote - {{ is_voting }} = Bool {% endcomment %} {% load static films_extras %}

{{ film.title }} {% if film.is_watched %} 👀 {% endif %}

({{ film.year }})
{{ film.genre }}
· {{ film.runtime_mins|duration_format }}

{{ film.plot }}

{% if not film.is_voting and film.has_user_voted %} {% for vote in film.vote_set.all %}   {% if vote.choice == 2 %} {% elif vote.choice == 1 %} {% elif vote.choice == -1 %} {% elif vote.choice == -2 %} {% endif %} {{ vote.user.username|slice:":3" }} {% endfor %}   {% if film.user_vote %} (Change Vote) {% endif %} {% elif not is_voting and not film.is_watched %} Vote for films {% endif %} (Edit Film)