{% extends "layouts/dashboard.html" %} {% load i18n %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% translate "User management" %}

{% translate "Bulk import users" %}

{% blocktranslate %}Upload a CSV to create multiple accounts at once. Each new user receives an activation email so they can set their own password.{% endblocktranslate %}

{% if errors %}

{% translate "Couldn't read the CSV." %}

{% endif %} {% if report %}

{% translate "Read" %}

{{ report.total }}

{% translate "Created" %}

{{ report.created|length }}

{% translate "Activation emails sent" %}

{% translate "Skipped" %}

{{ report.skipped|length }}

{% translate "Fix the source and re-upload" %}

{% if report.skipped %}

{% translate "Skipped rows" %}

{% for s in report.skipped %} {% endfor %}
{% translate "Line" %} {% translate "Email" %} {% translate "Reason" %}
{{ s.line }} {{ s.email|default:"—" }} {{ s.reason }}
{% endif %}
{% endif %}
{% csrf_token %}

{% translate "Required columns" %}

{% translate "Download template" %}

email, first_name, last_name

{% translate "Optional columns" %}

phone, institution, role

{% blocktranslate %}institution is matched by name against the partner list — unmatched names are left blank. role defaults to learner when omitted. Each created account is sent an activation email so they can set their own password. Lines starting with # are treated as comments and skipped.{% endblocktranslate %}

{% translate "Cancel" %}
{% endblock %}