diff --git a/VERSION b/VERSION index f4b17644..db2abfd7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.6 (2012-09-03 08:54:40) stable +Version 2.0.6 (2012-09-03 08:55:49) stable diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 959d40b3..b94f324b 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -702,17 +702,17 @@ def formstyle_bootstrap(form, fields): _submit = False if isinstance(controls, INPUT): - controls['_class'] = 'input-xlarge' + controls.add_class('input-xlarge') if controls['_type'] == 'submit': # flag submit button _submit = True controls['_class'] = 'btn btn-primary' if isinstance(controls, SELECT): - controls['_class'] = 'input-xlarge' + controls.add_class('input-xlarge') if isinstance(controls, TEXTAREA): - controls['_class'] = 'input-xlarge' + controls.add_class('input-xlarge') if isinstance(label, LABEL): label['_class'] = 'control-label'