diff options
Diffstat (limited to 'demo/crud2.ur')
-rw-r--r-- | demo/crud2.ur | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/crud2.ur b/demo/crud2.ur index 54992e28..a89b37b3 100644 --- a/demo/crud2.ur +++ b/demo/crud2.ur @@ -12,13 +12,13 @@ open Crud.Make(struct <xml>Ready!</xml> else <xml>Not ready</xml>), - Widget = (fn (nm :: Name) => <xml> + Widget = (fn [nm :: Name] => <xml> <select{nm}> <option>Ready</option> <option>Not ready</option> </select> </xml>), - WidgetPopulated = (fn (nm :: Name) b => <xml> + WidgetPopulated = (fn [nm :: Name] b => <xml> <select{nm}> <option selected={b}>Ready</option> <option selected={not b}>Not ready</option> |