diff --git a/VERSION b/VERSION index 86b688ed..152b91b8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.08.15.30.47 +Version 2.4.1-alpha.2+timestamp.2013.01.09.09.16.07 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 7f710e51..db928d58 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -765,7 +765,7 @@ def formstyle_ul(form, fields): def formstyle_bootstrap(form, fields): ''' bootstrap format form layout ''' - form['_class'] += ' form-horizontal' + form.add_class('form-horizontal') parent = FIELDSET() for id, label, controls, help in fields: # wrappers