Do not display messages if auto_submit is True and javascript is enabled

This commit is contained in:
Valentin Samir 2016-07-03 18:12:02 +02:00
parent 9909699012
commit 646cdba6aa

View File

@ -24,7 +24,9 @@
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-2 col-xs-12"></div>
<div class="col-lg-6 col-md-6 col-sm-8 col-xs-12">
{% if auto_submit %}<noscript>{% endif %}
{% bootstrap_messages %}
{% if auto_submit %}</noscript>{% endif %}
{% block content %}
{% endblock %}
</div>