@extends('layouts.app') @section('title', 'Edit Client') @section('content')
{{-- Back link --}} {{ $client->name }}

Edit client — {{ $client->name }}

@csrf @method('PATCH') {{-- Global validation error banner --}} @if ($errors->any())

Please fix the following errors:

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Form card --}}
{{-- Section 1: Contact details --}}

Contact details

@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror
{{-- Section 2: Address --}}

Address

@error('address')

{{ $message }}

@enderror
{{-- Section 3: Notes --}}

Notes

@error('notes')

{{ $message }}

@enderror
{{-- Legal & Business Details --}}

Legal & Business Details

{{-- Form footer --}}
Cancel
@endsection