diff options
author | 2008-07-24 11:32:01 -0400 | |
---|---|---|
committer | 2008-07-24 11:32:01 -0400 | |
commit | 84f7c995c0ad553d3fc91d1b31f320fc9de58d79 (patch) | |
tree | b5b01d65e0f190463fac9857ecf3eb04f7892a59 /tests | |
parent | 5f895c17f35466d10ef80cd7146638d8505e4e9b (diff) |
Password inputs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pass.lac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pass.lac b/tests/pass.lac new file mode 100644 index 00000000..2260267a --- /dev/null +++ b/tests/pass.lac @@ -0,0 +1,13 @@ +val handler = fn r => <html><body> + <li> Name: {cdata r.Nam}</li> + <li> Password: {cdata r.Word}</li> +</body></html> + +val main : unit -> page = fn () => <html><body> + <lform> + Name: <textbox{#Nam} /><br/> + Password: <password{#Word} /><br/> + + <submit action={handler}/> + </lform> +</body></html> |