<x-app-layout title="Edit patient">
    <div class="mx-auto max-w-4xl">
        <h1 class="text-xl font-semibold text-slate-900">Edit patient</h1>
        <p class="mt-1 text-sm text-slate-500">{{ $patient->patient_number }}</p>
        <form method="POST" action="{{ route('care.patients.update', $patient) }}" enctype="multipart/form-data" class="mt-6 space-y-6">
            @csrf @method('PUT')
            @include('care.patients._form', ['patient' => $patient])
            <button type="submit" class="btn-primary btn-primary-lg">Save changes</button>
        </form>
    </div>
</x-app-layout>
