<x-admin-layout title="Schedule Settings">
    <x-admin.form-panel :back-route="route('admin.dashboard')">
        <form method="POST" action="{{ route('admin.schedule-settings.update') }}" class="space-y-4">
            @csrf
            @method('PUT')

            <div>
                <label class="block text-sm font-medium">Week Start Date</label>
                <input type="date" name="week_start_date" value="{{ old('week_start_date', $item->week_start_date?->format('Y-m-d')) }}" class="admin-input" required>
            </div>
            <button type="submit" class="admin-btn-primary">Save</button>
        </form>
    </x-admin.form-panel>
</x-admin-layout>
