summaryrefslogtreecommitdiff
path: root/demo/batch.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 15:38:01 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 15:38:01 -0400
commit2f923a2b261ac47e5f44d26aa92b548bbad86e09 (patch)
tree319480b616f48c0f2ec38e1673c2b89a1de79125 /demo/batch.ur
parent431abe6b2d53ed42d5019a5263e8014de8920eb4 (diff)
Add more buttons to demo, to avoid effectful GET
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>