diff --git a/VERSION b/VERSION index f5302b63..3c19b894 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.09.12.43.44 +Version 2.4.1-alpha.2+timestamp.2013.01.09.12.49.10 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index 3134e8e0..a9cca4d1 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1866,7 +1866,7 @@ class SQLFORM(FORM): def buttons(edit=False, view=False, record=None): buttons = DIV(gridbutton('buttonback', 'Back', referrer), - _class='form_header row_buttons %(header)s %(cornertop)s' % ui,_nowrap=True) + _class='form_header row_buttons %(header)s %(cornertop)s' % ui) if edit and (not callable(edit) or edit(record)): args = ['edit', table._tablename, request.args[-1]] buttons.append(gridbutton('buttonedit', 'Edit', @@ -2279,7 +2279,7 @@ class SQLFORM(FORM): elif not isinstance(value, DIV): value = field.formatter(value) trcols.append(TD(value)) - row_buttons = TD(_class='row_buttons') + row_buttons = TD(_class='row_buttons',_nowrap=True) if links and links_in_grid: toadd = [] for link in links: