{% trans_default_domain 'FOSUserBundle' %}

<div class="container fos_user_user_show"
     style="margin-top: 2.5vmin;" xmlns="http://www.w3.org/1999/html">

    <div class="pull-right">
        <a href="{{ path('fos_user_change_password') }}">
            Reset Password
        </a>
    </div>

    <div>
        <label>{{ 'profile.show.username'|trans }}:</label>
        <span>{{ user.username }}</span>
    </div>
    <div>
        <label>{{ 'profile.show.email'|trans }}:</label>
        <span>{{ user.email }}</span>
    </div>
    <div>
        <label>Worker:</label>
        <span>{{ user.worker }}</span>
    </div>
    <div>
        <label>Access Groups:</label>
        {% for group in user.groups %}
            <div>{{ group }}</div>
        {% endfor %}
    </div>
</div>