{% if messages %}
    {% for key, values in messages.iteritems %}
        <div class="alert alert-{{ key.1 }}">
            {{ values|join:"<br>" }}
        </div>
    {% endfor %}
{% endif %}

{% if messages %}
    {% for key, values in messages.iteritems %}
        <div class="alert {{ key.1 }}">
            {{ values|join:"<br>" }}
        </div>
    {% endfor %}
{% endif %}

Revert "Fixed missing ``alert`` prefix in message level class"
Revert "Fixed missing ``alert`` prefix in message level class"

This never happened!
