'use client' /** * Create new Klausur form tab. * Supports both Abitur and Vorabitur modes with EH template selection. */ import type { TabId, CreateKlausurForm, VorabiturEHForm, EHTemplate } from './list-types' interface ErstellenTabProps { form: CreateKlausurForm ehForm: VorabiturEHForm templates: EHTemplate[] creating: boolean loadingTemplates: boolean onFormChange: (form: CreateKlausurForm) => void onEhFormChange: (form: VorabiturEHForm) => void onSubmit: (e: React.FormEvent) => void onCancel: () => void } export default function ErstellenTab({ form, ehForm, templates, creating, loadingTemplates, onFormChange, onEhFormChange, onSubmit, onCancel, }: ErstellenTabProps) { return (