{% extends "base.html" %} {% block content %}

{{ object.name }}

Filer ID {{ object.filer_id }}
Sort name {{ object.sort_name }}
Family name {{ object.family_name }}
Given name {{ object.given_name }}
Other names {% for obj in object.other_names.all %} {{ obj }}{% if not forloop.last %},{% endif %} {% endfor %}

OCD Candidacies ({{ object.candidacies.count }})

{% for obj in candidate_list %} {% endfor %}
Election Name Post Party Incumbent Status Filer ID Sources
{{ obj.election }} {{ obj.candidate_name }} {{ obj.post.label }} {{ obj.party }} {{ obj.is_incumbent }} {{ obj.registration_status }} {% for i in obj.filer_ids %} {{ i }} {% if not forloop.last %},{% endif %}{% endfor %}

Scraped Candidacies ({{ object.scraped_candidates|length }})

{% for obj in object.scraped_candidates %} {% endfor %}
Election Name Scraped ID Office name
{{ obj.election }} {{ obj.name }} {{ obj.scraped_id }} {{ obj.office_name }}

Form 501s ({{ object.form501s|length }})

{% for obj in object.form501s %} {% endfor %}
Filing ID Committee ID First name Last name Election year Election type Office District Party
{{ obj.filing_id }} {{ obj.committee_id }} {{ obj.first_name }} {{ obj.last_name }} {{ obj.election_year }} {{ obj.election_type }} {{ obj.office }} {{ obj.district }} {{ obj.party }}
{% endblock %}