mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
Moving flash messages
This commit is contained in:
parent
e41361f149
commit
818571d1ff
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user