syntax fix for python 2.5
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user