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

    <div class="py-8">
        <div class="max-w-2xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white dark:bg-gray-800 shadow-sm sm:rounded-lg p-6">
                @php($cancelUrl = route('clinica.appointments.show', $appointment))
                <form method="post" action="{{ route('clinica.appointments.update', $appointment) }}">
                    @csrf
                    @method('put')
                    @include('clinica.appointments._form', ['submitLabel' => __('Actualizar')])
                </form>
            </div>
        </div>
    </div>
</x-app-layout>
