<?php $__currentLoopData = $errors->all('<div class="alert alert-danger">:message</div>'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php echo $error; ?>

<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php if(session()->has('error')): ?>
    <div class="alert alert-danger"><?php echo session('error'); ?></div>
<?php endif; ?>

<?php if(session()->has('alert')): ?>
    <div class="alert alert-warning"><?php echo session('alert'); ?></div>
<?php endif; ?>

<?php if(session()->has('alertSuccess')): ?>
    <div class="alert alert-success"><?php echo session('alertSuccess'); ?></div>
<?php endif; ?>

<?php if(session()->has('alertInfo')): ?>
    <div class="alert alert-info"><?php echo session('alertInfo'); ?></div>
<?php endif; ?>