<div id="action_<?php echo e($row->id); ?>" class="text-end d-flex gap-1 justify-content-end">
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('users-edit')): ?>
    <a href="<?php echo e(route('users.edit', $row->id)); ?>"
       class="btn btn-sm btn-primary"
       title="Edit">
        <i class="ri-pencil-line"></i>
    </a>
    <?php endif; ?>

    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('users-delete')): ?>
    <a id="trash_<?php echo e($row->id); ?>"
       class="btn btn-sm btn-danger"
       title="Move to Trash"
       onclick="suSoftDelete('<?php echo e($row->id); ?>', 'users')">
        <i class="ri-delete-bin-line"></i>
    </a>

    <a id="restore_<?php echo e($row->id); ?>"
       class="btn btn-sm btn-success"
       title="Restore"
       onclick="suRestore('<?php echo e($row->id); ?>', 'users')"
       style="display:none;">
        <i class="ri-restart-line"></i>
    </a>
    <?php endif; ?>
</div>

<?php /**PATH /Applications/MAMP/htdocs/test1/resources/views/users/partials/actions.blade.php ENDPATH**/ ?>