diff src/monoize.sml @ 2074:e48e09a1f583

HTML5 input attributes: placeholder, required, autofocus; email input type (without cformTag equivalent)
author Sergey Mironov <grrwlf@gmail.com>
date Sun, 12 Oct 2014 10:03:36 +0000
parents 7c2229aa22fc
children 3cd2bd4b1de0
line wrap: on
line diff
--- a/src/monoize.sml	Sun Nov 16 13:39:18 2014 -0500
+++ b/src/monoize.sml	Sun Oct 12 10:03:36 2014 +0000
@@ -3663,6 +3663,7 @@
                            | _ => (Print.prefaces "Targs" (map (fn t => ("T", CorePrint.p_con env t)) targs);
                                    raise Fail "No name passed to textbox tag"))
                       | "password" => input "password"
+                      | "email" => input "email"
                       | "textarea" =>
 			(case targs of
                              [_, (L.CName name, _)] =>