{% if messages %}
  <!-- Messages for this instance -->
  {% for message in messages %}
    <div class="{{ message.css_class }}">
      <a class="close" data-dismiss="alert" href="#">&times;</a>
      {{ message }}
    </div>
  {% endfor %}
{% endif %}
