Created
September 8, 2014 14:46
-
-
Save hasantayyar/c79ca26e946ff06a9cbe to your computer and use it in GitHub Desktop.
Revisions
-
hasantayyar created this gist
Sep 8, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ {% for type, messages in app.session.flashBag.all %} {% for message in messages %} {%if type == 'error'%} {% set type = 'danger' %} {%endif%} <div class="alert alert-{{ type }}"> {{ message|raw }} </div> {% endfor %} {% endfor %}