{% extends "base.html" %} {% from "components/icons.html" import circle_alert_icon, circle_check_icon %} {% from "components.html" import feedback %} {% from "pages/datasets/import/_mapping_status.html" import mapping_status_text, mapping_missing_fields %} {% block content %} {% include 'pages/datasets/concepts/_banner.html' %}
{% if step == 3 %}

{{ steps[step - 1].label }}

{% else %}

{{ steps[step - 1].label }}

{% endif %} {{ feedback(error, id='import-error', focus=true) }} {% if success %} {% if mode == 'mapping_update' %} {{ feedback(state.imported_count ~ (' target record updated' if state.imported_count == 1 else ' target records updated'), kind='success') }} {% else %}{{ feedback(state.imported_count ~ ' records imported successfully', kind='success') }}{% endif %}

Your records are ready to view.

{% elif step == 1 %}{% include "pages/datasets/import/upload.html" %} {% elif step == 2 %}{% include "pages/datasets/import/worksheet.html" %} {% elif step == 3 %}{% include "pages/datasets/import/mapping.html" %} {% elif step == 4 %}{% include "pages/datasets/import/preview.html" %} {% endif %}
{% endblock %}