Commit 7cfccfc0 authored by Serge S. Koval's avatar Serge S. Koval

Fixed #309

parent 63f801fc
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
{% with messages = get_flashed_messages(with_categories=True) %} {% with messages = get_flashed_messages(with_categories=True) %}
{% if messages %} {% if messages %}
{% for category, m in messages %} {% for category, m in messages %}
{% if category == 'error' %} {% if category %}
<div class="alert alert-error"> <div class="alert alert-{{ category }}">
{% else %} {% else %}
<div class="alert"> <div class="alert">
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment