{% trans_default_domain 'FOSUserBundle' %}

<div class="container">
    <h1 class="text-center">Profile: {{ user.username }}</h1>

    <p>{{ 'profile.show.email'|trans }}: {{ user.email }}</p>

    <ul>
        <li>
            <a href="{{ path('friend_list') }}">Friends</a>
        </li>
        <li>
            <a href="{{ path('fos_user_profile_edit') }}">Edit Profile</a>
        </li>
        <li>
            <a href="{{ path('fos_user_change_password') }}">Change Password</a>
        </li>
        <li>
            <a href="{{ path('fos_user_resetting_request') }}">Reset Password</a>
        </li>
    </ul>

    <a href="{{ path('homepage') }}" class="btn btn-primary">< Homepage</a>
</div>

{% trans_default_domain 'FOSUserBundle' %}

<div class="container">
    <h1 class="text-center">Profile: {{ user.username }}</h1>

    <p>{{ 'profile.show.email'|trans }}: {{ user.email }}</p>

    <ul>
        <li>
            <a href="{{ path('friend_list') }}">Friends</a>
        </li>
        <li>
            <a href="{{ path('fos_user_profile_edit') }}">Edit Profile</a>
        </li>
        <li>
            <a href="{{ path('fos_user_change_password') }}">Change Password</a>
        </li>
    </ul>

    <a href="{{ path('homepage') }}" class="btn btn-primary">< Homepage</a>
</div>

Reset password only for admin
Reset password only for admin
