{# templates/representative/representative_edit.html #} {% extends "template_base.html" %} {% block title %}{% if representative %}{{ representative.representative_name }}: Edit Representative{% else %}New Representative{% endif %}{% endblock %} {% block content %} {% load template_filters %} {% load humanize %} < Back to Representatives
{{ error_message }}
{% endif %}| Representative Name | Office Held | State | Twitter Handle | Website | Id | We Vote Id | ||
| {{ forloop.counter }} |
{% if found_representative.we_vote_hosted_profile_image_url_medium %}
|
{{ found_representative.representative_name }} compare for merge |
{% if found_representative.office_held_we_vote_id %}{{ found_representative.office_held_name }} {% endif %} | {{ found_representative.state_code }} | {% if found_representative.representative_twitter_handle %}{{ found_representative.representative_twitter_handle }} ({{ found_representative.twitter_followers_count|intcomma }} followers){% endif %} |
{% if found_representative.representative_url %}{{ found_representative.representative_url }} {% endif %} | {{ found_representative.id }} | {{ found_representative.we_vote_id }} |
| Politician Name | State | Twitter Handle | Website | Id | We Vote Id | ||
| {{ forloop.counter }} |
{% if found_politician.politician_photo_url %}
|
{{ found_politician.politician_name }} | {{ found_politician.state_code|default_if_none:"" }} |
{% if found_politician.politician_twitter_handle %}{{ found_politician.politician_twitter_handle }} ({{ found_politician.twitter_followers_count|intcomma }} followers){% endif %} {% if found_politician.politician_twitter_handle2 %} {{ found_politician.politician_twitter_handle2 }} {% endif %} {% if found_politician.politician_twitter_handle3 %} {{ found_politician.politician_twitter_handle3 }} {% endif %} {% if found_politician.politician_twitter_handle4 %} {{ found_politician.politician_twitter_handle4 }} {% endif %} {% if found_politician.politician_twitter_handle5 %} {{ found_politician.politician_twitter_handle5 }} {% endif %} |
{% if found_politician.politician_url %}{{ found_politician.politician_url }} {% endif %}
{% if found_politician.politician_url2 %} {{ found_politician.politician_url2 }} {% endif %} {% if found_politician.politician_url3 %} {{ found_politician.politician_url3 }} {% endif %} {% if found_politician.politician_url4 %} {{ found_politician.politician_url4 }} {% endif %} {% if found_politician.politician_url5 %} {{ found_politician.politician_url5 }} {% endif %} |
{{ found_politician.id }} | {{ found_politician.we_vote_id }} |
| Representative Name | State | Twitter Handle | Website | Id | We Vote Id | Vote Smart Id | |||
| {{ forloop.counter }} |
{% if representative.photo_url %}
|
{{ representative.representative_name }} | {{ representative.state_code }} | {% if representative.representative_twitter_handle %}{{ representative.representative_twitter_handle }} ({{ representative.twitter_followers_count|intcomma }} followers){% endif %} |
{% if representative.representative_url %}{{ representative.representative_url }}{% endif %} | {{ representative.id }} | {{ representative.we_vote_id }} | {{ representative.vote_smart_id }} | (edit) |