aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/layout.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2013-12-27 15:07:46 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2013-12-27 15:07:46 +0100
commit06f67d8f53a87bd6487a06f193f8ad820e372173 (patch)
tree5a50c158e811a9d6c230a3d2e7f538d07ce08088 /pyaggr3g470r/templates/layout.html
parentMinor bugfix. (diff)
downloadnewspipe-06f67d8f53a87bd6487a06f193f8ad820e372173.tar.gz
newspipe-06f67d8f53a87bd6487a06f193f8ad820e372173.tar.bz2
newspipe-06f67d8f53a87bd6487a06f193f8ad820e372173.zip
Improved Flask flash messages.
Diffstat (limited to 'pyaggr3g470r/templates/layout.html')
-rw-r--r--pyaggr3g470r/templates/layout.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index 0d3f05a3..9f1deeab 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -78,20 +78,18 @@
</div><!-- /.container -->
</nav>
+ <div class="container">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
- <!--<ul class=flashes>-->
{% for category, message in messages %}
- <!--<li class="{{ category }}">-->
<div class="alert alert-{{category}}">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{{ message }}
</div>
- <!--</li>-->
{% endfor %}
- <!--</ul>-->
{% endif %}
{% endwith %}
+ </div>
{% block content %}{% endblock %}
bgstack15