summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-24 11:16:54 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-24 11:16:54 -0400
commit5f895c17f35466d10ef80cd7146638d8505e4e9b (patch)
treef841aca63a6b80672762ff18a2a49a6630caa446 /lib
parent6f1206729039e45e032c5ba7f04d072f41dc9961 (diff)
HTML select
Diffstat (limited to 'lib')
-rw-r--r--lib/basis.lig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/basis.lig b/lib/basis.lig
index 8b41b8f6..913e6af4 100644
--- a/lib/basis.lig
+++ b/lib/basis.lig
@@ -72,6 +72,10 @@ con radio = [Body, Radio]
val radio : lformTag string radio []
val radioOption : unit -> tag [Value = string] radio [] [] []
+con select = [Select]
+val lselect : lformTag string select []
+val loption : unit -> tag [Value = string] select [] [] []
+
val submit : ctx ::: {Unit} -> [LForm] ~ ctx
-> use ::: {Type} -> unit
-> tag [Action = $use -> page] ([LForm] ++ ctx) ([LForm] ++ ctx) use []