
<div id="reorder" class="modal fade" role="dialog">
    <div class="modal-dialog">

    <?php echo Form::open(['url' => route('beSaveCategoryOrder'),'method'=>'post']); ?>

      <div class="modal-content">
        <div class="modal-header">
          <h2><?php echo app('translator')->getFromJson('backend.rearrange-order'); ?></h2>
        </div>
        <div class="modal-body">
          <ul class="sortable media-list">
            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $x => $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <li class="media">
                <?php echo Form::hidden('list[]',$cate->id); ?>

                <div class="media-left">
                  <a href="#">
                    <img class="media-object img-border" src="<?php echo e(asset($storage_url.'img/products/category/'.$cate->category_image1)); ?>" alt="" height="64px">
                  </a>
                </div>
                <div class="media-body">
                  <h3 class="media-heading"><?php echo e(isset($cate->category_name) ? $cate->category_name : ''); ?></h3>
                </div>
              </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </ul>
        </div>
        <footer class="modal-footer">
          <button type="submit" class="btn btn-primary"><?php echo app('translator')->getFromJson('backend.save'); ?></button>
          <button class="btn btn-default" data-dismiss="modal"><?php echo app('translator')->getFromJson('backend.cancel'); ?></button>
        </footer>
      </div>
    <?php echo Form::close(); ?>


    </div>
  </div>