{% extends "SsoBackendBundle:ws_application_role:new.html.twig" %}
{% block title %}{{ parent() }} - Edit{% endblock %}

{% block body %}
    <h1>Edit Role</h1>
    <div class="alert alert-danger">
        <p><strong>Warning:</strong> If users are connected to this role the role name will be updated in this relation too.</p>
        <p>This could take a while, depends on how many users are connected to this role.</p>
    </div>
    <div class="well clearfix">
        {{ form(form) }}
        <ul class="record_actions">
            <li>
                <a class="btn btn-success" href="{{ path('_admin_backend_webservice_application_role') }}">
                    Back to the list
                </a>
            </li>
            <li>{{ form(delete_form) }}</li>
        </ul>
    </div>
{% endblock %}
