table t1 : {Id : int, A : int, B : string, C : float, D : bool} open Crud.Make(struct val tab = t1 val title = "Crud1" val cols = { A = { Nam = "A", Show = txt _, Widget = fn nm :: Name => , WidgetPopulated = fn (nm :: Name) n => , Parse = readError _, Inject = _ }, B = { Nam = "B", Show = txt _, Widget = fn nm :: Name => , WidgetPopulated = fn (nm :: Name) s => , Parse = readError _, Inject = _ }, C = { Nam = "C", Show = txt _, Widget = fn nm :: Name => , WidgetPopulated = fn (nm :: Name) n => , Parse = readError _, Inject = _ }, D = { Nam = "D", Show = txt _, Widget = fn nm :: Name => , WidgetPopulated = fn (nm :: Name) b => , Parse = fn x => x, Inject = _ } } end)