Moving flash messages

This commit is contained in:
Marc Ducobu 2014-11-12 13:10:34 +01:00
parent e41361f149
commit 818571d1ff

View File

@ -39,6 +39,15 @@
</div>
<div id="person_details" class="content">
<section class="container">
{# Note: activeRouteKey should be defined in Controller or child layout #}
{{ chill_menu('person', {
'layout': 'ChillPersonBundle::menu.html.twig',
'args' : {'person_id': person.id },
'activeRouteKey': activeRouteKey
}) }}
<div class="grid-8">
{# Flash messages ! #}
<div class="container">
{% for flashMessage in app.session.flashbag.get('success') %}
@ -66,15 +75,6 @@
{% endfor %}
</div>
<section class="container">
{# Note: activeRouteKey should be defined in Controller or child layout #}
{{ chill_menu('person', {
'layout': 'ChillPersonBundle::menu.html.twig',
'args' : {'person_id': person.id },
'activeRouteKey': activeRouteKey
}) }}
<div class="grid-8">
{% block personcontent %}<!-- block personcontent empty -->{%endblock%}
</div>
</section>