{# templates/representative/representative_list.html #} {% extends "template_base.html" %} {% block title %}Representatives{% endblock %} {% block content %} {% load template_filters %} {% load humanize %}

Elected Representatives


Add New Representative{% if state_code %}, Find and Merge Duplicate Representatives for this State (about 1 minute){% endif %} {% if show_this_year %} {% endif %}

{% csrf_token %} {% if state_list %} {% endif %}{# End of if state_list #} {% if years_available %} {% endif %}{# End of if years_available #}    {% if representative_search %} clear search  {% endif %}               

{% if representative_list %} {% for representative in representative_list %} {% endfor %}
    Representative Name Office Held Name State Twitter Handle Email(s) ID(s) Website(s)
{{ forloop.counter }} {% if representative.we_vote_hosted_profile_image_url_medium %} {% endif %} {% if representative.representative_name %}{{ representative.representative_name }}{% else %}no name{% endif %}
In office: {% if representative.year_in_office_2023 %}2023 {% endif %} {% if representative.year_in_office_2024 %}2024 {% endif %} {% if representative.year_in_office_2025 %}2025 {% endif %} {% if representative.year_in_office_2026 %}2026 {% endif %}
{{ representative.office_held_name }}  {% if representative.office_held_we_vote_id %} {{ representative.office_held_we_vote_id }} {% endif %} {% if representative.ocd_division_id %} {{ representative.ocd_division_id }} {% endif %} {{ representative.state_code }} {% if representative.representative_twitter_handle %}{{ representative.representative_twitter_handle }}
({{ representative.twitter_followers_count|intcomma }} followers){% endif %}
{% if representative.representative_email %}{{ representative.representative_email }} {% endif %} {% if representative.representative_email2 %}{{ representative.representative_email2 }} {% endif %} {% if representative.representative_email3 %}{{ representative.representative_email3 }} {% endif %} {{ representative.we_vote_id }} {% if representative.politician_we_vote_id %} - {{ representative.politician_we_vote_id }}  {% endif %} {% if representative.wikipedia_url %}{{ representative.wikipedia_url }} {% endif %} {% if representative.representative_url %}{{ representative.representative_url }} {% endif %} {% if representative.representative_url2 %}{{ representative.representative_url2 }} {% endif %} {% if representative.representative_url3 %}{{ representative.representative_url3 }} {% endif %}

{% else %}

(no representatives found)

Add New Representative

{% endif %} {% endblock %}