no warp buttons
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+2
-2
@@ -1866,7 +1866,7 @@ class SQLFORM(FORM):
|
|||||||
|
|
||||||
def buttons(edit=False, view=False, record=None):
|
def buttons(edit=False, view=False, record=None):
|
||||||
buttons = DIV(gridbutton('buttonback', 'Back', referrer),
|
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)):
|
if edit and (not callable(edit) or edit(record)):
|
||||||
args = ['edit', table._tablename, request.args[-1]]
|
args = ['edit', table._tablename, request.args[-1]]
|
||||||
buttons.append(gridbutton('buttonedit', 'Edit',
|
buttons.append(gridbutton('buttonedit', 'Edit',
|
||||||
@@ -2279,7 +2279,7 @@ class SQLFORM(FORM):
|
|||||||
elif not isinstance(value, DIV):
|
elif not isinstance(value, DIV):
|
||||||
value = field.formatter(value)
|
value = field.formatter(value)
|
||||||
trcols.append(TD(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:
|
if links and links_in_grid:
|
||||||
toadd = []
|
toadd = []
|
||||||
for link in links:
|
for link in links:
|
||||||
|
|||||||
Reference in New Issue
Block a user