view tests/checkbox.ur @ 2272:b49d22a4eda8

Merge.
author Ziv Scully <ziv@mit.edu>
date Sat, 31 Oct 2015 23:35:42 -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>