{% extends "admin/base_site.html" %} {% load i18n admin_urls static %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% csrf_token %}

Upload a CSV file to import {{ opts.verbose_name_plural }}.

{% if title == "Import Voters" %}

Expected columns (header mandatory): voter_id, first_name, last_name, address_street, city, state, zip_code, county, phone, email, district, precinct, registration_date, is_targeted, candidate_support, yard_sign, window_sticker

{% else %}

Expected columns (header mandatory): date, event_type, description

{% endif %}
{% for field in form %}
{{ field.errors }} {{ field }} {% if field.help_text %}
{{ field.help_text|safe }}
{% endif %}
{% endfor %}
{% endblock %}