{**
 * 2010-2024 Webkul.
 *
 * NOTICE OF LICENSE
 *
 * All right is reserved,
 * Please go through LICENSE.txt file inside our module
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this module to newer
 * versions in the future. If you wish to customize this module for your
 * needs please refer to CustomizationPolicy.txt file inside our module for more information.
 *
 * @author Webkul IN
 * @copyright 2010-2024 Webkul IN
 * @license LICENSE.txt
 *}

{if isset($message_type) && isset($message)}
    <p class="alert {if $message_type == 'success'}alert-success{elseif $message_type == 'error'}alert-danger{/if} alert-dismissable">
        {$message}
        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    </p>
{/if}
