From 9e9fde2e8fe1539b2824b8a3a8e05063b6abf0b8 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 9 Jan 2013 12:50:05 -0600 Subject: [PATCH] no warp buttons --- VERSION | 2 +- gluon/sqlhtml.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: