diff options
Diffstat (limited to 'tests/pass.lac')
-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> |