{% if messages %}
  <div class="message-list">
    {% for message in messages %}
      <div class="toast toast-{{ message.tags }}" role="alert">
        {{ message }}
      </div>
    {% endfor %}
  </div>
{% endif %}
