diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-07-24 10:51:48 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-07-24 10:51:48 -0400 |
commit | e7c2d52b8ed2e31e2e99b68ccbe1423ad4ffa353 (patch) | |
tree | bfaa3bcf6138aaf3cec080612c3fd413edd070e2 /lib/ur | |
parent | 392d8e89996967e8693167afd28eadf96fdcd904 (diff) |
<image>
Diffstat (limited to 'lib/ur')
-rw-r--r-- | lib/ur/basis.urs | 6 |
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) |