aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/basis.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-11-30 10:02:13 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2012-11-30 10:02:13 -0500
commiteab77d1d8c4c6bdc3b7857713c8bc1e5947f58d0 (patch)
treef7d02034f487581c28961bcb0f0b5836e1fec361 /lib/ur/basis.urs
parent89be6e97ad713323aaf23f866a7fe08303e7180f (diff)
add Placeholder attribute to <password>; change <textbox> code generation to set 'type' to 'text'
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r--lib/ur/basis.urs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 339e8f0a..71320a28 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -883,7 +883,7 @@ con formTag = fn (ty :: Type) (inner :: {Unit}) (attrs :: {Type}) =>
val hidden : formTag string [] [Id = string, Value = string]
val textbox : formTag string [] ([Value = string, Size = int, Placeholder = string, Source = source string, Onchange = transaction unit,
Ontext = transaction unit] ++ boxAttrs)
-val password : formTag string [] ([Value = string, Size = int] ++ boxAttrs)
+val password : formTag string [] ([Value = string, Size = int, Placeholder = string] ++ boxAttrs)
val textarea : formTag string [] ([Rows = int, Cols = int, Onchange = transaction unit,
Ontext = transaction unit] ++ boxAttrs)