{# templates/office/office_held_list.html #} {% extends "template_base.html" %} {% block title %}Offices Held By Elected Representatives{% endblock %} {% block content %}

Offices Currently Held By Elected Representatives

Add New Office Held, See 'OfficesHeldForLocation' List, Repair OCD ID Mismatches

{% csrf_token %} {% if state_list %} {% if state_code != "" %} Show all Offices Held in this state {% endif %} {% endif %}        

{% if office_held_search %} clear search  {% endif %} {# End of if state_list #} {% if office_held_list %} {% if google_civic_election_id %} {% endif %} {% endif %} {% if office_held_list %}
{% for office_held in office_held_list %} {% endfor %}
  Office Held Name District State IDs
{{ forloop.counter }} {{ office_held.office_held_name }} {% include "politician/is_battleground_race_year_display.html" with linebreak_at_start=True politician=office_held %} {{ office_held.district_name|default_if_none:"" }} {{ office_held.state_code|default_if_none:"" }} {{ office_held.we_vote_id|default_if_none:"" }} - {{ office_held.id|default_if_none:"" }} {% if office_held.ocd_division_id %} - {{ office_held.ocd_division_id|default_if_none:"" }}{% endif %}

{#

Export Offices Held

#} {% else %}

(no office helds found)

{% endif %}
{% endblock %}