diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-11-30 10:02:13 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-11-30 10:02:13 -0500 |
commit | eab77d1d8c4c6bdc3b7857713c8bc1e5947f58d0 (patch) | |
tree | f7d02034f487581c28961bcb0f0b5836e1fec361 /src | |
parent | 89be6e97ad713323aaf23f866a7fe08303e7180f (diff) |
add Placeholder attribute to <password>; change <textbox> code generation to set 'type' to 'text'
Diffstat (limited to 'src')
-rw-r--r-- | src/monoize.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index 004f69cc..b1cef64b 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -3602,7 +3602,7 @@ fun monoExp (env, st, fm) (all as (e, loc)) = val (ts, fm) = tagStart "input" in ((L'.EStrcat (ts, - (L'.EPrim (Prim.String (" name=\"" ^ name ^ "\" />")), + (L'.EPrim (Prim.String (" type=\"text\" name=\"" ^ name ^ "\" />")), loc)), loc), fm) end | SOME (_, src, _) => @@ -3674,7 +3674,7 @@ fun monoExp (env, st, fm) (all as (e, loc)) = val (ts, fm) = tagStart "input" in ((L'.EStrcat (ts, - (L'.EPrim (Prim.String " />"), loc)), + (L'.EPrim (Prim.String " type=\"text\" />"), loc)), loc), fm) end | SOME (_, src, _) => |