

<?php $__env->startSection('content'); ?>
   <div class="content-wrapper">
          <div class="card">
            <div class="card-body">
              <h4 class="card-title">photos</h4>
              <a class="btn btn-success" href="<?php echo e(route('add-photo')); ?>">Add</a>
              <div class="row">
                <div class="col-12">
                  <div class="table-responsive">
                    <table id="order-listing" class="table">
                      <thead>
                        <tr>
                            <th>S.No</th>
                            <th>Photo</th>
                            <th>Action</th>
                            
                        </tr>
                      </thead>
                      <tbody>
                          <?php if(count($photo)>0): ?>
                          <?php $i=1; ?>
                          <?php $__currentLoopData = $photo; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photos): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($i); ?></td>
                           
                           
                            <td><img src="<?php echo e(url($photos->image)); ?>"></td>
                             
                            <td>
                               <a href="#" class="btn btn-info" style="color: #fff;">Edit</a>
							<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#exampleModal">Delete</button>
							 <br>
							</td>

                        </tr>
                        <?php $i++; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      <?php else: ?>
                        <tr>
                          <td>No data found</td>
                        </tr>
                      <?php endif; ?>
                       
                      </tbody>
                    </table>                    
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
     
 
      
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>