    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit-role')): ?>
        <a href="<?php echo e(route('roles.edit', $role->id)); ?>" class="btn-sm text-info"> <i class="fa fa-pencil-alt m-1"></i></a>|
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('show-role')): ?>
        <a href="<?php echo e(route('roles.show', $role->id)); ?>" class="btn-sm"><i class="fas fa-key m-1"></i></a>|
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('delete-role')): ?>

        <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($role->id); ?>').submit():'';"><i
                class="fas fa-trash"></i> </a>
        <?php echo Form::open(['method' => 'DELETE', 'route' => ['roles.destroy', $role->id], 'id' => 'delete-form-' . $role->id]); ?>

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

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