       {% set bg_class = "bg-success" %}
                          {% elif alert.type == 'info' %}
                            {% set icon_class = "fas fa-info-circle" %}
                            {% set bg_class = "bg-success" %}
                          {% elif alert.type == 'warning' %}
                            {% set icon_class = "fas fa-exclamation-triangle" %}
                            {% set bg_class = "bg-warning" %}
                          {% endif %}
                          <div class=