summaryrefslogtreecommitdiff
path: root/tests/formid.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/formid.ur')
-rw-r--r--tests/formid.ur9
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>