comparison tests/form.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/form.lac@6f9e224692ec
children
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 val handler = fn r => <html><body>
2 <li> Name: {cdata r.Nam}</li>
3 <li> Word: {cdata r.Word}</li>
4 </body></html>
5
6 val main : unit -> page = fn () => <html><body>
7 <lform>
8 Name: <textbox{#Nam} /><br/>
9 Word: <textbox{#Word} /><br/>
10
11 <submit action={handler}/>
12 </lform>
13 </body></html>