{% extends "base.html" %}
{% block content %}
{% if election_list %}
  <ul>
    {% for item in election_list %}
      {% include 'listitem-snippet.html' %}
    {% endfor %}
  </ul>
  <p><a href="/browse">← View all elections</a> | <a href="/">← Homepage</a></p>
{% else %}
  <p>No elections found with the "{{ tag }}" tag.</p>
  <p><a href="/browse">← View all elections</a> | <a href="/">← Homepage</a></p>
{% endif %}
{% endblock content %}
