{% trans_default_domain 'FOSUserBundle' %}

<div class="container fos_user_group_show"
     style="margin-top: 2.5vmin;">

    <div class="container-fluid"
         style="padding: 0px;">
        <div class="container-fluid">
            <div class="col-lg-5"><label class="form-label">Group name:</label>
                {{ group.getName() }}
            </div>
            <div class="col-xs-1"></div>
            <div class="col-lg-6">
                <div><strong style="font-size: 2.5vmin;">Roles:</strong></div>
                {% for role in group.getRoles() %}
                    <div>{{ role }}</div>
                {% endfor %}
            </div>
        </div>
        <div class="col-lg-12 container-fluid text-right">
            <a href="{{ path('fos_user_group_edit', {'groupName': group.getName()}) }}"
               class="btn btn-primary">
                {{ 'group.edit.edit'|trans }}
            </a>
            <a href="{{ path('fos_user_group_list') }}"
               class="btn btn-danger">
                {{ 'group.list'|trans }}
            </a>
        </div>
    </div>
</div>