{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
{% else %}
{{ 'layout.login'|trans({}, 'FOSUserBundle') }}
{% endif %}
{% for type, messages in app.session.flashBag.all %} {% for message in messages %}
{{ message|trans({}, 'FOSUserBundle') }}
{% endfor %} {% endfor %}
{% block fos_user_content %} {% endblock fos_user_content %}