{% trans 'Upload a "csv" file for users creation' %}

{% if app['request'].query.get('error') is not none %} {% set error = app['request'].query.get('error') %}
{% if error == 'file-invalid' %} {% trans 'An error occured while upload the file. Please retry' %} {% elseif error == 'row-login' %} {% trans 'Row "login" is missing, script has stopped' %} {% elseif error == 'row-pwd' %} {% trans 'Row "password" is missing, script has stopped' %} {% elseif error == 'no-user' %} {% trans 'The file does not contains any user to add' %} {% endif %}
{% endif %} {% if errors is defined and errors is not none and errors|length > 0 %}
{% endif %}
{% trans 'You can download an example by clicking here' %}
{% trans 'You can download the documentation here' %}
{% trans 'Select a file' %} {% trans 'boutton::retour' %}