Fix alert container

master
Steven Loria 11 years ago
parent 31c8394095
commit 8915d425e0
  1. 4
      {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/_layouts/base.html

@ -40,14 +40,14 @@
{% with messages = get_flashed_messages(with_categories=true) %} {% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %} {% if messages %}
<div class="row"> <div class="row">
<div class="span12"> <div class="col-md-12">
{% for category, message in messages %} {% for category, message in messages %}
<div class="alert alert-{{ category }}"> <div class="alert alert-{{ category }}">
<a class="close" title="Close" href="#" data-dismiss="alert">&times;</a> <a class="close" title="Close" href="#" data-dismiss="alert">&times;</a>
{{message}} {{message}}
</div><!-- end .alert --> </div><!-- end .alert -->
{% endfor %} {% endfor %}
</div><!-- end span --> </div><!-- end col-md -->
</div><!-- end row --> </div><!-- end row -->
{% endif %} {% endif %}
{% endwith %} {% endwith %}

Loading…
Cancel
Save