<?php ($viewErrors = $errors ?? null); ?>

<?php if(Session::has('sucmessage')): ?>
  <div class="alert alert-success alert-dismissible show fade">
    <div class="alert-body">
      <button class="close" type="button" data-dismiss="alert" aria-label="Close">
        <span>&times;</span>
      </button>
      <?php echo e(Session::get('sucmessage')); ?>

    </div>
  </div>
<?php endif; ?>

<?php if(Session::has('message')): ?>
  <div class="alert alert-danger alert-dismissible show fade">
    <div class="alert-body">
      <button class="close" type="button" data-dismiss="alert" aria-label="Close">
        <span>&times;</span>
      </button>
      <?php echo e(Session::get('message')); ?>

    </div>
  </div>
<?php endif; ?>

<?php if($viewErrors && $viewErrors->any()): ?>
  <div class="alert alert-danger alert-dismissible show fade">
    <div class="alert-body">
      <button class="close" type="button" data-dismiss="alert" aria-label="Close">
        <span>&times;</span>
      </button>
      <strong>Please check the highlighted details.</strong>
      <ul class="mb-0 mt-2 pl-3">
        <?php $__currentLoopData = $viewErrors->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>
  </div>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\examproject\examproject_new\resources\views/admin/partials/flash-messages.blade.php ENDPATH**/ ?>