{# templates/candidate/candidate_edit.html #} {% extends "template_base.html" %} {% block title %}{% if candidate %}{{ candidate.candidate_name }}: Candidate Edit Page{% else %}New Candidate{% endif %}{% endblock %} {% block content %} {% load template_filters %} {% load humanize %} < Back to Candidates
{{ error_message }}
{% endif %}
Transfer Vote Smart Ratings to We Vote Positions
{% endif %}Add Position (start with Endorser taking the Position) (open in new window)
{% if candidate_position_list %}| Endorser Position | Stance (w/ source) | Election | Election Date | {#Rating Time Span | #}|
|---|---|---|---|---|---|
| (missing candidate_position.id) | |||||
| {{ forloop.counter }} |
{% if candidate_position.organization_id %}
{{ candidate_position.organization.organization_name }} (edit position)
{% else %}
(not an org)
{% endif %}
{% if candidate_position.organization.twitter_followers_count %}
( {{ candidate_position.organization.twitter_followers_count|intcomma }} Twitter Followers) {% endif %} |
{{ candidate_position.get_stance_display }}
{% if candidate_position.statement_text %}
{{ candidate_position.statement_text }}
{% endif %}
{# {% if candidate_position.vote_smart_rating %} {{ candidate_position.vote_smart_rating }}%{% endif %}#}
{% if candidate_position.more_info_url %}
{{ candidate_position.more_info_url }} {% endif %} |
{{ candidate_position.election.google_civic_election_id }} | {{ candidate_position.election.election_day_text }} | {#{{ candidate_position.vote_smart_time_span|default_if_none:"" }} | #}
(no positions found)
{% endif %} {% if candidate.vote_smart_id and candidate.vote_smart_id != False and candidate.vote_smart_id != 'False' and candidate.vote_smart_id != None and candidate.vote_smart_id != 'None' %}Import Vote Smart Ratings for this Candidate
{% if rating_list %}| ratingId | sigId | ratingName | timeSpan | candidateId | rating | |
| {{ forloop.counter }} | {{ special_interest_group_rating.ratingId }} | {{ special_interest_group_rating.sigId }} | {{ special_interest_group_rating.ratingName }} | {{ special_interest_group_rating.timeSpan }} | {{ special_interest_group_rating.candidateId }} | {{ special_interest_group_rating.rating }} |
(no special interest group ratings found)
{% endif %} {% endif %}{# End of if candidate.vote_smart_id #}| Candidate Name | State | Election | Office | Twitter Handle | Website | Id | We Vote Id | Vote Smart Id | ||||
| {{ forloop.counter }} |
{% if candidate.candidate_photo_url %}
|
{{ candidate.candidate_name }} | {{ candidate.get_candidate_state }} | {{ candidate.election.election_name }} | {% if candidate.office and candidate.office.id %} {{ candidate.office.office_name }} {% else %} (office missing) {% endif %} | {% if candidate.candidate_twitter_handle %} {{ candidate.candidate_twitter_handle }} ({{ candidate.twitter_followers_count|intcomma }} followers){% endif %} |
{% if candidate.candidate_url %}{{ candidate.candidate_url }}{% endif %} | {% if candidate.candidate_contact_form_url %}{{ candidate.candidate_contact_form_url }}{% endif %} | {{ candidate.id }} | {{ candidate.we_vote_id }} {% if candidate.politician_we_vote_id %} {{ candidate.politician_we_vote_id }} {% else %} Match to Politician {% endif %} | {{ candidate.vote_smart_id }} | (edit) |