syntax fix for python 2.5

This commit is contained in:
Oleg
2013-07-14 11:32:40 +02:00
parent 773b19d373
commit 59f8362f75
+1 -1
View File
@@ -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)