Created
September 25, 2013 21:12
-
-
Save bulv1ne/6706120 to your computer and use it in GitHub Desktop.
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 characters
{% with messages = get_flashed_messages(category_filter=["error"]) %} | |
{% if messages %} | |
<div class="panel panel-danger"> | |
<div class="panel-heading"> | |
Error | |
</div> | |
<div class="panel-body"> | |
<ul class=flashes> | |
{% for message in messages %} | |
<li>{{ message }}</li> | |
{% endfor %} | |
</ul> | |
</div> | |
</div> | |
{% endif %} | |
{% endwith %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment