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

{{ object.label }}

Role {{ object.role }}
Organization {{ object.organization }}
Division {{ object.division }}

Contests ({{ object.contests.count }})

{% for obj in object.contests.all %}
{{ obj.contest.election }}
{% for candidate in obj.candidacies.all %} {% endfor %}
Name Party Incumbent Status Sources
{{ candidate.person }} {{ candidate.party }} {{ candidate.is_incumbent }} {{ candidate.registration_status }} {% for obj in obj.sources.all %} {{ forloop.counter }}{% if not forloop.last %},{% endif %} {% endfor %}
{% endfor %} {% endblock %}