9e81da5a1ffeea8ae1095e15f4ee0ccc8386b947.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php if($error = session()->get('error')): ?>
  2. <div class="alert alert-danger alert-dismissable">
  3. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  4. <h4><i class="icon fa fa-ban"></i><?php echo e(\Illuminate\Support\Arr::get($error->get('title'), 0), false); ?></h4>
  5. <p><?php echo \Illuminate\Support\Arr::get($error->get('message'), 0); ?></p>
  6. </div>
  7. <?php elseif($errors = session()->get('errors')): ?>
  8. <?php if($errors->hasBag('error')): ?>
  9. <div class="alert alert-danger alert-dismissable">
  10. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  11. <?php $__currentLoopData = $errors->getBag("error")->toArray(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  12. <p><?php echo \Illuminate\Support\Arr::get($message, 0); ?></p>
  13. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  14. </div>
  15. <?php endif; ?>
  16. <?php endif; ?>
  17. <?php if($success = session()->get('success')): ?>
  18. <div class="alert alert-success alert-dismissable">
  19. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  20. <h4><i class="icon fa fa-check"></i><?php echo e(\Illuminate\Support\Arr::get($success->get('title'), 0), false); ?></h4>
  21. <p><?php echo \Illuminate\Support\Arr::get($success->get('message'), 0); ?></p>
  22. </div>
  23. <?php endif; ?>
  24. <?php if($info = session()->get('info')): ?>
  25. <div class="alert alert-info alert-dismissable">
  26. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  27. <h4><i class="icon fa fa-info"></i><?php echo e(\Illuminate\Support\Arr::get($info->get('title'), 0), false); ?></h4>
  28. <p><?php echo \Illuminate\Support\Arr::get($info->get('message'), 0); ?></p>
  29. </div>
  30. <?php endif; ?>
  31. <?php if($warning = session()->get('warning')): ?>
  32. <div class="alert alert-warning alert-dismissable">
  33. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  34. <h4><i class="icon fa fa-warning"></i><?php echo e(\Illuminate\Support\Arr::get($warning->get('title'), 0), false); ?></h4>
  35. <p><?php echo \Illuminate\Support\Arr::get($warning->get('message'), 0); ?></p>
  36. </div>
  37. <?php endif; ?><?php /**PATH C:\phpstudy_pro\WWW\cydsyy-api\vendor\encore\laravel-admin\src/../resources/views/partials/alerts.blade.php ENDPATH**/ ?>