aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/basis.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-07-24 10:51:48 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-07-24 10:51:48 -0400
commite7c2d52b8ed2e31e2e99b68ccbe1423ad4ffa353 (patch)
treebfaa3bcf6138aaf3cec080612c3fd413edd070e2 /lib/ur/basis.urs
parent392d8e89996967e8693167afd28eadf96fdcd904 (diff)
<image>
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r--lib/ur/basis.urs6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index cabac068..ece4bfef 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -797,6 +797,12 @@ val submit : ctx ::: {Unit} -> use ::: {Type}
-> tag ([Value = string, Action = $use -> transaction page] ++ boxAttrs)
([Form] ++ ctx) ([Form] ++ ctx) use []
+val image : ctx ::: {Unit} -> use ::: {Type}
+ -> [[Form] ~ ctx] =>
+ unit
+ -> tag ([Src = url, Width = int, Height = int, Alt = string, Action = $use -> transaction page] ++ boxAttrs)
+ ([Form] ++ ctx) ([Form] ++ ctx) use []
+
val label : bodyTag ([For = string, Accesskey = string] ++ tableAttrs)