{% extends '@default/base.html.twig' %} {% block title %} Profile of {{ user.username }} {% endblock %} {% block body %}
{% if user.avatar is not null %} profile image {% endif %} {{ user.username }} {% if is_granted('ROLE_ADMIN') %} switch user {{ user.username }} {% endif %} {{ user.email }}

User Profile

{% endblock %}