{% extends 'staff_base.html' %} {% load static %} {% block breadcrumb %} {{ block.super }} {% endblock %} {% block content %} {{ block.super }}

{% trans 'Import users' %}

{% include 'staff_message_rendering_template.html' with errors=errors warnings=warnings success_messages=success_messages %}
{% csrf_token %}

{% trans 'Upload Excel file' %} ({% trans 'Download sample file' %}, ). {% trans 'This will create all contained users.' %}

{% include 'bootstrap_form.html' with form=excel_form %}
{% if not test_passed %} {% else %} {% endif %}
{% endblock %} {% block modals %} {{ block.super }} {% trans 'Import Users' as title %} {% blocktrans asvar question %}Do you really want to import the users from the Excel file?{% endblocktrans %} {% trans 'Import Users' as action_text %} {% include 'confirmation_modal.html' with modal_id='importUserModal' title=title question=question action_text=action_text btn_type='primary' %} {% endblock %} {% block additional_javascript %} {% endblock %}