comparison tests/radio.ur @ 244:71bafe66dbe1

Laconic -> Ur
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 08:32:18 -0400
parents tests/radio.lac@cfe6f9db74aa
children a1a1d66aebac
comparison
equal deleted inserted replaced
243:2b9dfaffb008 244:71bafe66dbe1
1 val handler = fn x => <html><body>
2 You entered: {cdata x.A}
3 </body></html>
4
5 val main = fn () => <html><body>
6 <lform>
7 <radio{#A}>
8 <li> <radioOption value="A"/>A</li>
9 <li> <radioOption value="B"/>B</li>
10 </radio>
11 <submit action={handler}/>
12 </lform>
13 </body></html>