diff --git a/VERSION b/VERSION index e41b5a43..c2738e24 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.3.0 (2012-12-12 21:48:42) rc1 +Version 2.3.0 (2012-12-12 22:02:50) rc1 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index aa5580b7..f4263fa2 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -757,6 +757,10 @@ def formstyle_bootstrap(form, fields): if controls['_type'] == 'file': controls['_class'] = 'input-file' + # For password fields, which are wrapped in a CAT object. + if isinstance(controls, CAT) and isinstance(controls[0], INPUT): + controls[0].add_class('input-xlarge') + if isinstance(controls, SELECT): controls.add_class('input-xlarge')