{# templates/voter/voter_edit.html #}
{% extends "template_base.html" %}
{% block title %}Voter Edit: {% if voter %}{{ voter.get_full_name }}{% else %}Create New Voter Account{% endif %}{% endblock %}
{% block content %}
{% load humanize %}
< Back to Voters
| ID | Voter | Endorser | Stance | Candidate/Measure | Election | |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ position.we_vote_id }} | {% if position.voter %}
{{ position.voter.we_vote_id }}
{% if position.voter.signed_in_with_email %}Email verified {% endif %} {% if position.voter.signed_in_facebook %}Facebook {% endif %} {% if position.voter.signed_in_twitter %}Twitter {% endif %} {% else %} (voter missing) {% endif %} |
{% if position.organization %} {{ position.organization.organization_name }} - {{ position.organization.we_vote_id }} {% else %} (organization missing) {% endif %} | {% if position.organization %} {{ position.get_stance_display }} {% if position.statement_text %} - {{ position.statement_text }}{% endif %} {% else %} {{ position.get_stance_display }} {% if position.statement_text %} - {{ position.statement_text }}{% endif %} {% endif %} | {% if position.candidate_campaign %} {{ position.candidate_campaign.candidate_name }} {% elif position.contest_measure %} {{ position.contest_measure.measure_title }} {% else %} (name unknown) {% endif %} | {% if position.election.election_day_text %}{{ position.election.election_day_text }}{% endif %} {% if position.vote_smart_time_span %}{{ position.vote_smart_time_span }}{% endif %} |
(no positions for friends found)
{% endif %} {% if voter %}