{% if nb_user_to_add > 0 and models|length > 0%} {# Display errors #} {% if errors|length > 0 %}

{% trans %}The following errors have been detected{% endtrans %}

{% trans %}Would you like to continue ?{% endtrans %}
{% trans %}Yes{% endtrans %} {% trans %}no{% endtrans %}
{% endif %} {# Hide wrapper if there are errors #}
{% trans %}Cancel{% endtrans %}
{% elseif models|length == 0 %}
{{ 'You need define a model before importing a list of users' | trans }}
{% elseif nb_user_to_add == 0 %}
{{ 'There is no user to add.' | trans }}
{% endif %}