diff options
Diffstat (limited to 'src/WallabagBundle/Resources/views/layout.html.twig')
-rw-r--r-- | src/WallabagBundle/Resources/views/layout.html.twig | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WallabagBundle/Resources/views/layout.html.twig b/src/WallabagBundle/Resources/views/layout.html.twig index 4a3f0f5c..34d9b1b0 100644 --- a/src/WallabagBundle/Resources/views/layout.html.twig +++ b/src/WallabagBundle/Resources/views/layout.html.twig | |||
@@ -19,9 +19,11 @@ | |||
19 | <div id="main"> | 19 | <div id="main"> |
20 | {% block menu %}{% endblock %} | 20 | {% block menu %}{% endblock %} |
21 | {% block precontent %}{% endblock %} | 21 | {% block precontent %}{% endblock %} |
22 | {% block messages %} | 22 | {% for flashMessage in app.session.flashbag.get('notice') %} |
23 | {% include "WallabagBundle::_messages.html.twig" %} | 23 | <div class="flash-notice"> |
24 | {% endblock %} | 24 | {{ flashMessage }} |
25 | </div> | ||
26 | {% endfor %} | ||
25 | <div id="content" class="w600p center"> | 27 | <div id="content" class="w600p center"> |
26 | {% block content %}{% endblock %} | 28 | {% block content %}{% endblock %} |
27 | </div> | 29 | </div> |