{% extends "SsoBackendBundle:Token:base.html.twig" %}


{% block title %}
    create user
{% endblock %}

{% block body %}
    <h1>{{ 'views.new.creation'|trans({'%entity%': ' User'}, 'JordiLlonchCrudGeneratorBundle') }}</h1>
    <div class="well clearfix">
        {{ form(form) }}
        <ul class="record_actions">
            <li>
                <a class="btn btn-success" href="{{ path('_admin_backend_webservice_user') }}">
                    Back to the list
                </a>
            </li>
        </ul>
    </div>
{% endblock %}

{% block javascripts %}
    <script>
        $('#sso_backendbundle_webserviceuser_userGroups').select2();
    </script>
    {{ parent() }}
{% endblock %}
