// React form template — emits a per-entity Form component that delegates // to useEntityForm from @metaobjectsdev/react. Each visible field is // dispatched to a control by its declared view kind. // // What gets emitted: // - A `Form` component. A plain scalar field (no view kind) // spreads form.input. onto a typed (carries aria-label // via useEntityForm's `.input` accessor). A field with a view kind // (view.textarea/checkbox/radio, or an enum defaulting to a dropdown) // is dispatched by fieldControlFor to a