@push('styles') @endpush
{{-- HEADER --}}

{{ isset($contact) ? 'Edit Contact' : 'Create Contact' }}

{{-- BASIC INFO --}}
Basic Info
@error('first_name')
{{ $message }}
@enderror
@error('middle_name')
{{ $message }}
@enderror
@error('last_name')
{{ $message }}
@enderror
@error('gender')
{{ $message }}
@enderror
@error('age_group')
{{ $message }}
@enderror
@error('date_of_birth')
{{ $message }}
@enderror
{{-- RELATIONS --}}
Classification
@php $selectedTags = old('tags', isset($contact) ? $contact->tags->pluck('id')->map(fn($id) => (string)$id)->toArray() : [] ); @endphp
Select existing tags from the dropdown, or type a new tag and press Enter to add it.
{{-- ADDRESS --}}
Address
{{-- PHONE --}}
Phone / Email
@error('phone1_label')
{{ $message }}
@enderror
@error('phone1')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
{{-- GUARDIAN --}}
Guardian Info
{{-- EMERGENCY --}}
Emergency Contact
{{-- MARKETING --}}
Marketing
{{-- ADDITIONAL --}}
{{-- ACTION --}}
Back
@push('scripts') @endpush