Browse Source

Merge pull request #1862 from spolischook/patch-1

Allow html tag at flashbag, e.g. for links
Thomas 11 years ago
parent
commit
7ccdae6795
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/standard_layout.html.twig

+ 1 - 1
Resources/views/standard_layout.html.twig

@@ -185,7 +185,7 @@ file that was distributed with this source code.
                         {% set session_var = 'sonata_flash_' ~ notice_level %}
                         {% for flash in app.session.flashbag.get(session_var) %}
                             <div class="alert {{ 'alert-' ~ notice_level }}">
-                                {{ flash|trans([], 'SonataAdminBundle') }}
+                                {{ flash|trans([], 'SonataAdminBundle')|raw }}
                             </div>
                         {% endfor %}
                     {% endfor %}