<div class="text-end d-flex gap-1 justify-content-end">
{{-- Edit Role Permissions --}}
<a href="{{ url('admin/role-has-permissions/edit/' . $row->id) }}"
       class="btn btn-sm btn-warning"
   title="Edit Role Permissions">
        <i class="ri-shield-user-line"></i>
</a>

{{-- Edit Role --}}
<a href="{{ route('roles.edit', $row->id) }}"
       class="btn btn-sm btn-primary"
   title="Edit">
        <i class="ri-pencil-line"></i>
</a>

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

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

