import { h } from "../jsx"; import { FIRM } from "../branding"; // Reusable Project form body. Renders the field grid only — the surrounding //
, submit/cancel buttons and the form-msg paragraph belong to the // caller because /projects/new and the edit modal want different button // labels and submit behaviour. // // Field IDs are intentionally identical to the ones used historically on // /projects/new so the shared client module client/project-form.ts can read // them via getElementById on either page (the two forms never coexist on a // single page). export function ProjectFormFields(): string { return (