{# templates/quick_info/quick_info_edit.html #} {% extends "template_base.html" %} {% block title %}{% if quick_info.id %}{{ quick_info.ballot_item_display_name }}{% else %}New Quick Info for Ballot Item{% endif %}{% endblock %} {% block content %} < Back    

{% if quick_info.id %}Edit {{ quick_info.ballot_item_display_name }}{% else %}New Quick Info for Ballot Item{% endif %}

{% if error_message %}

{{ error_message }}

{% endif %}
{% csrf_token %}

A "Quick Info" entry shows content in a pop-up when you click an info icon next to an office, candidate, politician, or measure.

{% if election_list %}

1) Choose election

{% else %} (no election information)
{% endif %}{# End of if election_list #} {% if election_found %}

2) Choose which ballot item to describe... (only one)
{% if contest_office_options %} Current value: {{ quick_info.contest_office_we_vote_id }}
{% else %} (no offices found for this election)
{% endif %} {% if candidate_campaign_options %} Current value: {{ quick_info.candidate_campaign_we_vote_id }}
{% else %} (no candidates found for this election)
{% endif %} {% if contest_measure_options %} Current value: {{ quick_info.contest_measure_we_vote_id }}
{% else %} (no measures found for this election)
{% endif %}

{% if use_master_entry %}

3) Choose master entry     create new master entry    add unique text   
A master entry is an explanation that is generic enough that it can be used by multiple ballot items.
{# Language List #}
{# Master Entry List #} {% if quick_info_master_list %} jump to master entry
{% if quick_info_master.we_vote_id|length > 0 %}
{% endif %} More Info URL: {% if quick_info_master %}{{ quick_info_master.more_info_url }}{% endif %}
{% else %} (There are no master entries of type "{{ quick_info.get_kind_of_ballot_item }}") {% endif %}

{% else %}

3) Enter text for "quick info" popup     use master entry instead   
Enter text unique to this ballot item.



{% endif %}{# End of if use_master_entry #} {% if quick_info.id %}

Quick Info We Vote ID: {{ quick_info.we_vote_id }}
Ballot Item Label: {{ quick_info.ballot_item_display_name }}

{% endif %} {% endif %}{# End of if quick_info.google_civic_election_id #}

cancel

{% endblock %}