Mercurial > urweb
comparison tests/pass.lac @ 155:4334bb734187
Password inputs
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 24 Jul 2008 11:32:01 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
154:e2b185379592 | 155:4334bb734187 |
---|---|
1 val handler = fn r => <html><body> | |
2 <li> Name: {cdata r.Nam}</li> | |
3 <li> Password: {cdata r.Word}</li> | |
4 </body></html> | |
5 | |
6 val main : unit -> page = fn () => <html><body> | |
7 <lform> | |
8 Name: <textbox{#Nam} /><br/> | |
9 Password: <password{#Word} /><br/> | |
10 | |
11 <submit action={handler}/> | |
12 </lform> | |
13 </body></html> |