{# templates/candidate/remove_duplicate_candidates_preview.html #} {% extends "template_base.html" %} {% block title %}Possible Duplicate Candidates{% endblock %} {% block content %} {% load template_filters %} {% load humanize %}

Possible Duplicate Candidates

{% if error_message %}

{{ error_message }}

{% endif %}
{% csrf_token %}

{% if politician_we_vote_id %} cancel {% else %} cancel {% endif %}

{% if related_candidate_list %} {% for candidate in related_candidate_list %} {% endfor %}
    Candidate Name State Election Office Twitter Handle Website Id We Vote Ids Vote Smart Vote USA Id
{{ forloop.counter }} {% if candidate.candidate_photo_url %} {% endif %} {{ candidate.candidate_name }}  
do not delete
{{ candidate.get_candidate_state }} {{ candidate.election.election_name }} - {{ candidate.election.google_civic_election_id }}
{% if candidate.candidate_year %}Year: {{ candidate.candidate_year }}{% else %}{{ candidate.election.election_day_text }}{% endif %}
{% if candidate.office %} {{ candidate.office.office_name }} {% else %} (office missing) {% endif %} {% if candidate.candidate_twitter_handle %}{{ candidate.candidate_twitter_handle }} 
({{ candidate.twitter_followers_count|intcomma }} followers){% endif %}
{% if candidate.candidate_url %}{{ candidate.candidate_url }} {% endif %} {% if candidate.candidate_contact_form_url %}
{{ candidate.candidate_contact_form_url }} {% endif %}
{{ candidate.id }} {{ candidate.we_vote_id }} {% if candidate.politician_we_vote_id %} {{ candidate.politician_we_vote_id }} {% else %} ("pol" missing) {% endif %} {{ candidate.vote_smart_id|default_if_none:"" }} {{ candidate.vote_usa_politician_id|default_if_none:"" }}

 

 

{% endif %}

{% if politician_we_vote_id %} cancel {% else %} cancel {% endif %}    

{% endblock %}