From e227bfc2c4b60f42656ce22b11550c9a8e77a75a Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 28 Jul 2012 19:14:19 -0500 Subject: [PATCH] issue 913, handle html5 input types, thanks Howesc --- VERSION | 2 +- gluon/html.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4aa86f1a..3e6e3981 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-28 19:11:10) dev +Version 2.00.0 (2012-07-28 19:14:16) dev diff --git a/gluon/html.py b/gluon/html.py index 151626b9..2c1c4ca5 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -1669,7 +1669,7 @@ class INPUT(DIV): self['_checked'] = 'checked' else: self['_checked'] = None - elif t == 'text' or t == 'hidden': + elif not t == 'submit': if value is None: self['value'] = _value else: