{{ 'Upload a csv file for users creation' | trans }}
{% if app['request'].query.get('error') is not none %}
{% set error = app['request'].query.get('error') %}
{% if error == 'file-invalid' %}
{{ 'An error occured while upload the file. Please retry' | trans }}
{% elseif error == 'row-login' %}
{{ 'Row login is missing, script has stopped' | trans }}
{% elseif error == 'row-pwd' %}
{{ 'Row password is missing, script has stopped' | trans }}
{% elseif error == 'row-mail' %}
{{ 'Row mail is missing, script has stopped' | trans }}
{% elseif error == 'no-user' %}
{{ 'The file does not contains any user to add' | trans }}
{% endif %}
{% endif %}
{% if errors is defined and errors is not none and errors|length > 0 %}