diff options
Diffstat (limited to 'tests/crud.ur')
-rw-r--r-- | tests/crud.ur | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/crud.ur b/tests/crud.ur index 81c34472..5427100c 100644 --- a/tests/crud.ur +++ b/tests/crud.ur @@ -12,9 +12,9 @@ fun default (t ::: Type) (sh : show t) (rd : read t) (inj : sql_injectable t) name : colMeta (t, string) = {Nam = name, Show = txt _, - Widget = fn nm :: Name => (<xml><textbox{nm}/></xml>), + Widget = fn nm :: Name => <xml><textbox{nm}/></xml>, WidgetPopulated = fn (nm :: Name) n => - (<xml><textbox{nm} value={show _ n}/></xml>), + <xml><textbox{nm} value={show _ n}/></xml>, Parse = readError _, Inject = _} @@ -24,9 +24,9 @@ val string = default _ _ _ fun bool name = {Nam = name, Show = txt _, - Widget = fn nm :: Name => (<xml><checkbox{nm}/></xml>), + Widget = fn nm :: Name => <xml><checkbox{nm}/></xml>, WidgetPopulated = fn (nm :: Name) b => - (<xml><checkbox{nm} checked={b}/></xml>), + <xml><checkbox{nm} checked={b}/></xml>, Parse = fn x => x, Inject = _} |