diff options
author | Adam Chlipala <adam@chlipala.net> | 2016-12-31 15:54:06 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2016-12-31 15:54:06 -0500 |
commit | 923cc0fcad46eae0a00f7d5c8ea39e627b1aaa57 (patch) | |
tree | b1cc7a27167772b2c601b4bac8b740ea152369b5 /tests/formid.ur | |
parent | 10c0bc3c889568717ce97b6d3bda000b3fd46227 (diff) |
Use 'id' attribute for <form>
Diffstat (limited to 'tests/formid.ur')
-rw-r--r-- | tests/formid.ur | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/formid.ur b/tests/formid.ur new file mode 100644 index 00000000..c9e3317d --- /dev/null +++ b/tests/formid.ur @@ -0,0 +1,9 @@ +fun handler () = return <xml></xml> + +fun main () : transaction page = + id <- fresh; + return <xml><body> + <form id={id}> + <submit action={handler}/> + </form> + </body></xml> |