@include('Partials.sidebar') @include('Partials.header') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Contact Form Section Contact Form Section Form @csrf Section Title: Address: {{ $contactLocation->address ?? '' }} @php $phoneNumbers = json_decode($contactLocation->phone, true); @endphp @if (!empty($phoneNumbers) && count($phoneNumbers) > 0) @foreach ($phoneNumbers as $index => $phone) Phone: Remove @endforeach @else Phone: Remove @endif Add New Email: Website: Map Location: {{ isset($contactLocation) ? 'Update' : 'Submit' }} @include('Partials.footer')