From 65bc1062f5b4932a1397d4dfa92bb7e467ec1927 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 9 Jan 2013 09:16:50 -0600 Subject: [PATCH] fixed add class --- VERSION | 2 +- gluon/sqlhtml.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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