@include('components.no-permission')
@if ($action === 'list')
{{ $message }}

User Management

{{-- @include('components/search-by', ['searchBy' => $searchBy ?? []]) --}}
Delete
@include('livewire.select-atleast-modal')
@foreach ($results as $user) @endforeach
# Name Email Group Create Date Action
{{ $user->name }} {{ $user->email }} @php $groups = $user->groups->take(5); // Take the first 5 groups $remainingCount = $user->groups->count() - $groups->count(); @endphp @foreach ($groups as $group)
  • {{ $group->name }}
  • @endforeach @if ($remainingCount > 0)
  • + {{ $remainingCount }} more
  • @endif
    {{ $user->created_at }}
    {{ $results->links('livewire.paginate-custom') }}
    {{--
    --}}
    @elseif($action === 'create') @elseif($action === 'edit') @else
    @endif