<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
            {{ __('Editar paciente') }}: {{ $patient->name }}
        </h2>
    </x-slot>

    <div class="py-8">
        <div class="max-w-3xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg p-6">
                <form method="post" action="{{ route('clients.patients.update', [$client, $patient]) }}" enctype="multipart/form-data">
                    @method('put')
                    @include('patients._form', ['submitLabel' => __('Guardar cambios')])
                </form>
            </div>
        </div>
    </div>
</x-app-layout>
