   <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit-module')): ?>
       <a class="btn-sm" href="modules/<?php echo e($module->id); ?>/edit" data-url="<?php echo e(route('modules.edit', $module->id)); ?>"><i
               class="fa fa-pencil-alt"></i></a> |
       
   <?php endif; ?>

   <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('delete-module')): ?>

       <a href="#" class=" text-danger btn-sm" data-toggle="tooltip" data-original-title="<?php echo e(__('Delete')); ?>"
           onclick="confirm('<?php echo e(__('Are You sure ?')); ?>')?document.getElementById('delete-form-<?php echo e($module->id); ?>').submit():'';"><i
               class="fas fa-trash"></i></a>
       <?php echo Form::open(['method' => 'DELETE', 'route' => ['modules.destroy', $module->id], 'id' => 'delete-form-' . $module->id]); ?>

       <?php echo Form::close(); ?>

   <?php endif; ?>
<?php /**PATH C:\laragon\www\bluechip\resources\views/modules/action.blade.php ENDPATH**/ ?>