From 59f8362f75e09a7307947ebff2a3c33c968cfaf6 Mon Sep 17 00:00:00 2001 From: Oleg Date: Sun, 14 Jul 2013 11:32:40 +0200 Subject: [PATCH] syntax fix for python 2.5 --- gluon/sqlhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 791f4724..dc50c6fa 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -2429,7 +2429,7 @@ class SQLFORM(FORM): if formstyle == 'bootstrap': # add space between buttons #inputs = sum([[inp, ' '] for inp in inputs], [])[:-1] - htmltable = FORM(htmltable, DIV(*inputs, _class='form-actions')) + htmltable = FORM(htmltable, DIV(_class='form-actions', *inputs)) else: htmltable = FORM(htmltable, *inputs)