{# templates/campaign/campaignx_edit.html #} {% extends "template_base.html" %} {% block title %}{% if campaignx %}{{ campaignx.campaign_title }}{% else %}New Campaign{% endif %}{% endblock %} {% block content %} {% load humanize %} {% load template_filters %} < Cancel and Back to List

{% if campaignx %}Campaign: {{ campaignx.campaign_title }}{% else %}Missing Campaign{% endif %}

{% if error_message %}

{{ error_message }}

{% endif %} {% if campaignx %} {% else %}

This form only allows editing an existing CampaignX.

{% endif %}
{% csrf_token %}
{% if campaignx %} {{ campaignx.we_vote_id }} {% if campaignx.ocd_id_state_mismatch_found %}      OCD ID Issue Resolved {% endif %} {% if campaignx.linked_politician_we_vote_id %}
This campaign ('{{ campaignx.campaign_title }}') was generated for this politician (state_code: {{ politician_state_code }}): {{ campaignx.linked_politician_we_vote_id }} {% endif %} {% endif %}
{% if campaignx %}
{% if campaignx.linked_politician_we_vote_id %} Since this Campaign is hard-linked to a politician, please edit the SEO Friendly Path on the Politician record. {% endif %}
The last election any of the candidates are in. In YYYYMMDD format. This campaign won't be promoted after this date.
{% if campaignx.in_draft_mode %}
{% endif %} {% endif %}
{% if campaignx %}

{% if campaignx.we_vote_hosted_campaign_photo_large_url %}
Large
{% endif %} {% if campaignx.we_vote_hosted_profile_image_url_large %}
Politician Photo Large
{% endif %} {% endif %} {% if related_campaignx_list %}

Possibly Related Campaigns

{% for related_campaignx in related_campaignx_list %} {% endfor %}
    Campaign Title SEO Friendly Path Id
{{ forloop.counter }} {% if related_campaignx.we_vote_hosted_campaign_photo_medium_url %} {% elif related_campaignx.we_vote_hosted_profile_image_url_medium %} {% endif %} {{ related_campaignx.campaign_title }}  
{{ related_campaignx.supporters_count|intcomma }} supporters    compare for merge
{% if related_campaignx.seo_friendly_path %}{{ related_campaignx.seo_friendly_path }} {% endif %} {{ related_campaignx.id }}   {{ related_campaignx.we_vote_id }} {% if related_campaignx.linked_politician_we_vote_id %} {{ related_campaignx.linked_politician_we_vote_id }} {% else %} ("pol" missing) {% endif %}

 

 

{% endif %}
     
{% if campaignx %}

{% csrf_token %}      


{% endif %} {% endblock %}