{% extends "base.html" %} {% load nomnom_filters %} {% block content %}
{% if open_votes %}

Advisory Votes

{% for vote in open_votes %}
{{ vote.state_name }}
{% if vote.id in user_votes %} {% with user_votes|get_item:vote.id as user_vote %} Your vote: {{ user_vote.selection }} {% endwith %} {% else %} Not yet voted {% endif %}
{% endfor %}
{% else %}

There Are No Advisory Votes

{% endif %} {% endblock %}