{% 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 %}
{% if app.request.hasPreviousSession %} {% for type, messages in app.session.flashbag.all() %} {% for message in messages %}
{{ message }}
{% endfor %} {% endfor %} {% endif %}
{% block fos_user_content %} {% endblock fos_user_content %}