Mercurial > urweb
view tests/checkbox.ur @ 1709:4600cc5e335c
Added several missing tag attributes
author | Vladimir Shabanov <vshabanoff@gmail.com> |
---|---|
date | Wed, 11 Apr 2012 03:03:19 +0400 |
parents | 71bafe66dbe1 |
children |
line wrap: on
line source
val handler = fn x => <html><body> {if x.A then cdata "Yes" else cdata "No"} </body></html> val main = fn () => <html><body> <lform> <checkbox{#A}/> How about it?<br/> <submit action={handler}/> </lform> </body></html>