<?php if(session()->has('msg')): ?>
    <div class="toast-container position-fixed top-0 end-0 p-3">
        <div id="solid-successToast" class="toast colored-toast <?php echo e(session('type') == 'success' ? 'bg-success' : 'bg-danger'); ?> text-fixed-white" role="alert" aria-live="assertive"
             aria-atomic="true">
            <div class="toast-header <?php echo e(session('type') == 'success' ? 'bg-success' : 'bg-danger'); ?> text-fixed-white">
                <strong class="me-auto"><?php echo session('msg'); ?></strong>
                <button type="button" class="btn-close" data-bs-dismiss="toast"
                        aria-label="Close"></button>
            </div>
            <div class="toast-body">

            </div>
        </div>
    </div>
    <?php $__env->startPush('script'); ?>
        <script>
            /*Top right toast js */
            const toprightToast = document.getElementById('solid-successToast')
            window.addEventListener('load', function () {
                const toast = new bootstrap.Toast(toprightToast)
                toast.show()
            });
        </script>
    <?php $__env->stopPush(); ?>
<?php endif; ?>

<?php if($errors->any()): ?>
    <div class="alert alert-danger mt-3">
        <ul>
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
<?php endif; ?><?php /**PATH /home/naogekmy/public_html/noor-e-alam.com/resources/views/backend/partials/alert.blade.php ENDPATH**/ ?>