{{/* Reusable file upload component (v0.23.0). Renders a drop zone + file picker button. Expects dict with: FieldName — unique ID for the input (e.g. "workspace-upload") Label — optional label text Multiple — bool, allow multiple files Accept — optional file type filter (e.g. ".md,.txt,.go") DropZone — bool, show drag-and-drop zone */}} {{define "file-upload"}}
{{if .Label}}{{end}} {{if .DropZone}}
Drop files here or click above
{{end}}
{{end}}