{% extends "app_home/base.html" %} {% load static %} {% load i18n %} {% block navbar_app %} {% include 'app_home/_sidebar.html' %} {% endblock %} {% block title %}

{% translate 'Import Tool' %}


{% endblock %} {% block content %}
{% csrf_token %}
{% translate 'File' %}
{{ form.file }}
{{ form.file.help_text }}
{% for error in form.file.errors %}
{{ error }}
{% endfor %}
{% translate 'Common Options' %}
{{ form.sync_mode }}
{{ form.sync_mode.help_text }}
{{ form.pipeline }}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{{ form.first }} {% for error in form.first.errors %}
{{ error }}
{% endfor %}
{{ form.last }} {% for error in form.last.errors %}
{{ error }}
{% endfor %}
{% translate 'Optional row range, both bounds included - row 1 is the first data row (a CSV header does not count). Blank imports the whole file.' %}
{% translate 'CSV Specific Options' %}
{% translate 'Only used when the uploaded file is a .csv file.' %}
{{ form.encoding }}
{{ form.separator }} {% for error in form.separator.errors %}
{{ error }}
{% endfor %}
{{ form.split_multivalue }}
{{ form.separator.help_text }}
{% if is_data_admin %} {# form.force_schema only exists on ImportForm when is_admin=True was passed in - #} {# this guard is load-bearing, not cosmetic: never remove it without also checking views_importer.py #}
{{ form.force_schema }}
{{ form.force_schema.help_text }}
{% endif %}
{% if is_data_admin %} {# form.force_action only exists on ImportForm when is_admin=True was passed in - #} {# this guard is load-bearing, not cosmetic: never remove it without also checking views_importer.py #}
{{ form.force_action }}
{% endif %}
{% if task_handle %} {% endif %} {% endblock %}