
<?php $__env->startSection('title'); ?>
<title><?php echo e(__('admin.Banner Image')); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
      <!-- Main Content -->
      <div class="main-content">
        <section class="section">
          <div class="section-header">
            <h1><?php echo e(__('admin.Banner Image')); ?></h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('admin.Dashboard')); ?></a></div>
              <div class="breadcrumb-item"><?php echo e(__('admin.Banner Image')); ?></div>
            </div>
          </div>

          <div class="section-body">

            <div class="row mt-4">
                <div class="col">
                  <div class="card">
                    <div class="card-body">
                      <div class="table-responsive table-invoice">
                        <table class="table table-bordered">
                            <thead>
                                <tr>
                                    <th width="30%"><?php echo e(__('admin.Page Name')); ?></th>
                                    <th width="30%"><?php echo e(__('admin.Image')); ?></th>
                                    <th width="30%"><?php echo e(__('admin.New Image')); ?></th>
                                    <th width="10%"><?php echo e(__('admin.Action')); ?></th>
                                  </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($image->location); ?></td>
                                        <td><img src="<?php echo e(asset($image->image)); ?>" width="200px" class="m-2" alt=""></td>
                                        <form action="<?php echo e(route('admin.banner-image.update',$image->id)); ?>" method="POST" enctype="multipart/form-data">
                                            <?php echo csrf_field(); ?>
                                            <?php echo method_field('PUT'); ?>
                                        <td>
                                            <input type="file" class="form-control-file" name="image" required>
                                        </td>
                                        <td>
                                            <button class="btn btn-primary" type="submit"><?php echo e(__('admin.Update')); ?></button>
                                        </td>
                                    </form>
                                    </tr>
                                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                      </div>
                    </div>
                  </div>
                </div>
          </div>
        </section>
      </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/fwvrhhfw/topriserealtors.com/resources/views/admin/breadcrumb_image.blade.php ENDPATH**/ ?>