HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall_forms/buyercall/buyercall/templates/macros/layout/flash.jinja2
{# Render flask messages. #}
{%- macro render() -%}
  {% with messages = get_flashed_messages(with_categories=True) %}
    {% if messages %}
        <div id="flash-messages">
            {% for category, msg in messages %}
                <div data-notify="container"
                    class="col-xs-11 col-sm-6 col-lg-5 col-md-6 notification-bar alert-close alert alert-{{ category }} alert-with-icon animated fadeInDown"
                    role="alert"
                    data-notify-position="top-right">
                    <button type="button" aria-hidden="true" class="close notification-close-button" data-notify="dismiss">
                    <i class="material-icons">close</i>
                    </button>
                    <i data-notify="icon" class="material-icons">notifications</i>
                    <span data-notify="title"></span>
                    <span data-notify="message">
                    {{ msg }}
                    </span>
                </div>
            {% endfor %}
        </div>
    {% endif %}
  {% endwith %}
{%- endmacro -%}