{# templates/office/office_held_edit.html #} {% extends "template_base.html" %} {% block title %}{% if office_held %}{{ office_held.office_held_name }} {% if office_held.district_id %} - District {{ office_held.district_id }} {% endif %} {% if office_held.state_code %} - {{ office_held.state_code }} {% endif %} {% else %}Create New Office Held{% endif %}{% endblock %} {% block content %} {% load template_filters %}
| ID | We Vote ID | Office Held Name | State | # of Candidates |
| {{ office_held.id }} | {{ office_held.we_vote_id }} | {{ office_held.office_held_name }} {% if office_held.district_id %} - District {{ office_held.district_id }} {% endif %} {% if office_held.state_code %} - {{ office_held.state_code }} {% endif %} | {{ office_held.state_code }} | {{ office_held.candidate_count }} |