Merge pull request #1992 from jvanbraekel/master
Update the style of SQLgrid select actions
This commit is contained in:
2 files changed
+12
-1
No files matched your search
+2
-1
@@ -3091,8 +3091,9 @@ class SQLFORM(FORM):
|
||||
|
||||
if formstyle == 'bootstrap':
|
||||
# add space between buttons
|
||||
# inputs = sum([[inp, ' '] for inp in inputs], [])[:-1]
|
||||
htmltable = FORM(htmltable, DIV(_class='form-actions', *inputs))
|
||||
elif 'bootstrap' in formstyle : # Same for bootstrap 3 & 4
|
||||
htmltable = FORM(htmltable, DIV(_class='form-group web2py_table_selectable_actions', *inputs))
|
||||
else:
|
||||
htmltable = FORM(htmltable, *inputs)
|
||||
|
||||
|
||||
Reference in new issue
Block a user