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

{% block body %}
    <h2>Role View</h2>
    <ul class="list-group">
        <li class="list-group-item">
            <div class="labelview">Id</div>
            {{ entity.id }}&nbsp;
        </li>
        <li class="list-group-item">
            <div class="labelview">Name</div>
            {{ entity.Name }}&nbsp;
        </li>
        <li class="list-group-item">
            <div class="labelview">Application Name</div>
            {% if entity.Application %}{{ entity.Application.Name }}{% else %}-{% endif %}&nbsp;
        </li>
    </ul>
    <ul class="record_actions clearfix">
        <li>
            <a class="btn btn-success" href="{{ path('_admin_backend_webservice_application_role') }}">
                Back to the list
            </a>
        </li>
        <li>
            <a class="btn btn-primary pull-left"
               href="{{ path('_admin_backend_webservice_application_role_edit', { 'roleId': entity.id }) }}">
                Edit Role
            </a>
        </li>
        <li>
            {{ form(delete_form) }}
        </li>
    </ul>

{% endblock %}
