
  {% for vote in votes %}
  {% url 'votes:vote' system_name=vote.system.machine_name vote_name=vote.machine_name as vote_url %}

    <div class="list-group-item">
        <a href="{{ vote_url }}">
          {{ vote.name }}
          <a href="#">
            <span class="pull-right glyphicon glyphicon-pencil"></span>
          </a>
        </a>
    </div>

  {% endfor %}


  {% for vote in votes %}

  {% if results == True %}
    {% url 'votes:results' system_name=vote.system.machine_name vote_name=vote.machine_name as vote_url %}
  {% else %}
    {% url 'votes:vote' system_name=vote.system.machine_name vote_name=vote.machine_name as vote_url %}
  {% endif %}

    <div class="list-group-item">
        <a href="{{ vote_url }}">
          {{ vote.name }}
          <a href="#">
            <span class="pull-right glyphicon glyphicon-pencil"></span>
          </a>
        </a>
    </div>

  {% endfor %}

Add option to generate links to results
Add option to generate links to results
