<div class='btn-group btn-group-sm'>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customFields.edit')): ?>
        <a href="<?php echo e(route('customFields.edit', $id)); ?>" class='btn btn-link'> <i class="fas fa-edit"></i> </a>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customFields.destroy')): ?>
        <?php echo Form::open(['route' => ['customFields.destroy', $id], 'method' => 'delete']); ?>

        <?php echo Form::button('<i class="fas fa-trash"></i>', [
        'type' => 'submit',
        'class' => 'btn btn-link text-danger',
        'onclick' => "return confirm('Are you sure?')"
        ]); ?>

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

    <?php endif; ?>
</div>
<?php /**PATH /home/sabademoproject/burke.sabademoproject.com/home_services/resources/views/settings/custom_fields/datatables_actions.blade.php ENDPATH**/ ?>