@extends('layouts.skeleton') @section('content')
{{-- Breadcrumb --}}

< {{ $contact->name }}

{{ trans('people.relationship_form_add') }}

@if (session('status'))
{{ session('status') }}
@endif @include('partials.errors')
{{ csrf_field() }} {{-- New contact / link existing --}}

{{ trans('people.relationship_form_add_choice') }}

{{-- Name --}}
{{-- This check is for the cultures that are used to say the last name first --}}
@if (auth()->user()->getNameOrderForForms() == 'firstname')
@else
@endif
{{-- Gender --}}
{{-- Birthdate --}}
@if ($existingContacts->count() == 0)

{{ trans('people.relationship_form_add_no_existing_contact', ['name' => $contact->first_name]) }}

@else @endif
{{-- Nature of relationship --}}
{{-- Form actions --}}
@if ($existingContacts->count() == 0) @else @endif
@endsection