Source

symfony-on-dotcloud / src / Acme / DemoBundle / Resources / views / Secured / layout.html.twig

Full commit
1
2
3
4
5
6
{% extends "AcmeDemoBundle::layout.html.twig" %}

{% block content_header_more %}
    {{ parent() }}
    <li>logged in as <strong>{{ app.user ? app.user.username : 'Anonymous' }}</strong> - <a href="{{ path('_demo_logout') }}">Logout</a></li>
{% endblock %}