<% if (success && success.length) {%>
    <div class="alert alert-success alert-dismissible fade show" role="alert">
        <strong>Success!</strong>
        <%= success  %>
            <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
    <% } else if (error && error.length){ %>

        <div class="alert alert-danger alert-dismissible fade show" role="alert">
            <strong>Error!</strong>
            <%= error  %>
                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
        </div>
        <% } else if (info && info.length) {%>
            <div class="alert alert-info alert-dismissible fade show" role="alert">
                <strong>Please note: </strong>
                <%= info  %>
                    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
            </div>
            <% } else if (warning && warning.length) {%>
                <div class="alert alert-warning alert-dismissible fade show" role="alert">
                    <strong>Heads-Up!</strong>
                    <%= warning  %>
                        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                </div>
                <% } %>