Created
November 21, 2017 23:01
-
-
Save mlivingston40/7a21b21d81ffb90f77456a9ae6a51a38 to your computer and use it in GitHub Desktop.
flashing 'flash' messages in flask
This file contains 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
{% for message in get_flashed_messages() %} | |
<div class="alert alert-warning alert-dismissible" role="alert"> | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close" | |
<span | |
aria-hidden="true">×</span></button> | |
{{ message }} | |
</div> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment