|
|
|
@ -36,17 +36,19 @@ |
|
|
|
|
<main role="main"> |
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %} |
|
|
|
|
{% if messages %} |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-md-12"> |
|
|
|
|
{% for category, message in messages %} |
|
|
|
|
<div class="alert alert-{{ category }}"> |
|
|
|
|
<a class="close" title="Close" href="#" data-dismiss="alert">×</a> |
|
|
|
|
{{message}} |
|
|
|
|
</div><!-- end .alert --> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div><!-- end col-md --> |
|
|
|
|
</div><!-- end row --> |
|
|
|
|
{% endif %} |
|
|
|
|
<div class="container"> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-md-12"> |
|
|
|
|
{% for category, message in messages %} |
|
|
|
|
<div class="alert alert-{{ category }}"> |
|
|
|
|
<a class="close" title="Close" href="#" data-dismiss="alert">×</a> |
|
|
|
|
{{message}} |
|
|
|
|
</div><!-- end .alert --> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div><!-- end col-md --> |
|
|
|
|
</div><!-- end row --> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
|
|
{% block content %}{% endblock %} |
|
|
|
|