{% extends "users/user_base.html" %} {% load i18n %} {% load static %} {% block head %} {{block.super}} {% endblock %} {% block content %}

{% trans "Check CSV file" %}

{% if csv_errors %}

{{filename}}

{% if duplicates %}

{% trans "Duplicates" %} {% trans "(Only the duplicate rows are listed, not the first entries. The count of the rows starts from 1)" %}:

{% for username,rows in duplicates.items %} {% endfor %}
{% trans "Username" %} {% trans "Rows" %}
{{username}} {{rows|join:", "}}
{% endif %} {% if not_valid %}

{% trans "Not valid usernames" %} {% trans "(The count of the rows starts from 1)" %}:

{% for entry in not_valid %} {% endfor %}
{% trans "Row" %} {% trans "Username" %}
{{entry.0}} {{entry.1}}
{% endif %}

{% trans "Check another CSV file" %}

{% endif %}
{% csrf_token %} {{form.as_table}}
{% endblock %}