summaryrefslogtreecommitdiff
path: root/demo/batch.ur
diff options
context:
space:
mode:
Diffstat (limited to 'demo/batch.ur')
-rw-r--r--demo/batch.ur6
1 files changed, 5 insertions, 1 deletions
diff --git a/demo/batch.ur b/demo/batch.ur
index 4100749f..b7007913 100644
--- a/demo/batch.ur
+++ b/demo/batch.ur
@@ -37,7 +37,7 @@ fun show withDel lss =
</table></xml>}/></xml>
end
-fun main () =
+fun action () =
lss <- source Nil;
batched <- source Nil;
@@ -79,3 +79,7 @@ fun main () =
<button value="Execute" onclick={exec ()}/>
</body></xml>
end
+
+fun main () = return <xml><body>
+ <form><submit value="Begin demo" action={action}/></form>
+</body></xml>