
<form action="<?php echo e(route('services.sub_services.save_images')); ?>" method="post"  enctype="multipart/form-data" >
    <?php echo csrf_field(); ?>

    <input type="hidden" id="sub_services_id"  name="sub_services_id" value="<?php echo e($id_sub_services); ?>">
   
    <?php if(@isset($sub_services_images) && !@empty($sub_services_images) && count($sub_services_images) >0): ?> 

        <div class="col-12 row">
        
                <?php $__currentLoopData = $sub_services_images; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub_services_image): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                
                <div class="col-2" style="margin-right: 30px">
                    <img src="<?php echo e(asset('uploads/services/sub_services/' . $sub_services_image->image)); ?>" width="80px" height="80px" style="margin-bottom: 10px; " /> <br>
                    <a href="<?php echo e(route('sub_services.image.delete', $sub_services_image->id)); ?>" class="btn btn-danger btn-sm" style="margin-bottom: 10px; ">delete</a>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
        </div>

            
            
            
    <?php else: ?>
        <div class="col-12">
            <div class="alert alert-primary" role="alert">
                No Images
            </div>
        </div>
    <?php endif; ?>
    <div class="row" style="margin-top: 10px;">
        <div class="col-12">
            <input class="form-control" id="images" name="images[]" multiple accept="image/*" type="file">

        </div>
        <div class="col-6 text-center" style="margin-top: 10px;">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        </div>
        <div  class="col-6 text-center" style="margin-top: 10px;">
            
            <button id="edit"  type="submit" class="btn btn-primary">Save changes</button>
            
        </div>
    </div>
   
   

</form>

  <?php /**PATH C:\xampp\htdocs\opet\resources\views/dashboard/pages/services/load_sub_servives_images.blade.php ENDPATH**/ ?>