{{ __('Contacts in Phonebook: ') }} {{ $phonebook->name }}

@if(session('success')) @endif

Add Single Contact

@csrf

Import from CSV

Upload a CSV file without headers. Format: Phone, Name

@csrf
@forelse($contacts as $contact) @empty @endforelse
Name Phone Action
{{ $contact->name ?? 'N/A' }} {{ $contact->phone }}
@csrf @method('DELETE')
No contacts found in this phonebook.
{{ $contacts->links() }}