Library / Groups

Groups

Organize contacts into segments. Each contact can belong to one group.

@if (!auth()->user()->isManager()) New group
@csrf
Name
Color
Add group
@error('name')

{{ $message }}

@enderror
@endif All groups {{ $groups->count() }} {{ \Illuminate\Support\Str::plural('group', $groups->count()) }} @if ($groups->isEmpty())

No groups yet.

@else
    @foreach ($groups as $group)
  • {{ $group->name }}
    {{ $group->contacts_count }} {{ \Illuminate\Support\Str::plural('contact', $group->contacts_count) }}
    Edit
    @csrf @method('DELETE') Delete
    @csrf @method('PATCH') Save Cancel
  • @endforeach
@endif