<div class="text-end d-flex gap-1 justify-content-end">
{{-- Edit Permission --}}
@can("permissions-edit")
<a href="{{ url('admin/permissions/edit/' . $row->id) }}"
       class="btn btn-sm btn-primary"
   title="Edit">
        <i class="ri-pencil-line"></i>
</a>
@endcan

{{-- Soft Delete --}}
@can("permissions-delete")
<a id="trash_{{ $row->id }}"
       class="btn btn-sm btn-danger"
   title="Move to Trash"
   onclick="suSoftDelete('{{ $row->id }}', 'permissions')">
        <i class="ri-delete-bin-line"></i>
</a>
@endcan

{{-- Restore --}}
@can("permissions-delete")
<a id="restore_{{ $row->id }}"
       class="btn btn-sm btn-success"
   title="Restore"
   onclick="suRestore('{{ $row->id }}', 'permissions')"
   style="display:none;">
        <i class="ri-restart-line"></i>
</a>
@endcan
</div>

