<x-app-layout>
    <x-slot name="header">
        <div class="flex items-center justify-between gap-3">
            <h2 class="text-xl font-semibold leading-tight text-gray-800">New form</h2>
            <a href="{{ route('forms.index') }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-500">Back to forms</a>
        </div>
    </x-slot>

    <div class="py-6">
        <div class="w-full px-6">
            @include('forms._form', [
                'action' => route('forms.store'),
                'httpMethod' => 'POST',
            ])
        </div>
    </div>
</x-app-layout>
