{% for message in messages %}
    <div class="message {{ message.tags }}">
        <button type="button" class="close" data-dismiss="message"><i></i></button>
        {{ message }}
    </div>
{% endfor %}
