{# GET /admin/import — crate::pages::import_export::import::ui::ImportPage #} {% extends "ui/form_page.html" %} {% import "ui/alert.html" as alert %} {% block title %}{{ nav.tr("import-title") }}{% endblock %} {% block eyebrow %}{{ nav.tr("transfer-eyebrow") }}{% endblock %} {% block heading %}{{ nav.tr("import-title") }}{% endblock %} {% block lead %}

{{ nav.tr("import-lead") }}

{% endblock %} {% block form %}
{% include "pages/import_export/import/fields.html" %}
{%- if let Some(message) = page.error %}{% call alert::error(nav.locale, nav.tr("import-error-title"), message) %}{% endcall %}{% endif -%}
{{ nav.tr("common-cancel") }} {# Rewrites the header rows and puts the result back in the textarea. It imports nothing: the file that gets imported is the one the user can see and has had the chance to read. #}
{% include "pages/import_export/table_picker.html" %} {% endblock %}