{% extends 'management/election_detail_configs.html' %} {% load i18n core_tags form_tags formset_tags %} {% block container %}
{% include "management/includes/election_tabs.html" with election=object tab="candidates" only %}
{% trans "In this area you can define dates for each action" %}
{% csrf_token %} {{form.non_field_errors}} {% if object.write_in %}
{% trans "Imported" %} {% trans "Imported file" %} {% trans "To import" %}
{{object.candidates.write_in.count}} {% if object.write_in_import and object.write_in_import.document %} {{object.write_in_import.document.name}} {% else %} {% trans "No candidates imported yet!" %} {% endif %} {% prepare_field form.document %}

{% trans "Previous" %} {% trans "Next" %} {% else %}
{{form.management_form}} {% for f in form %} {% include "management/includes/candidate_form.html" with form=f prefix=form.prefix only %} {% endfor %}
{% trans "Photo" %} {% trans "Designation" %}

{% endif %}
{% endblock container %}