a space between grid button icon and text is much more beautiful

This commit is contained in:
Hardirc
2016-03-20 14:05:40 -04:00
parent dbbbd44642
commit 3a265e3111
+1 -1
View File
@@ -2185,7 +2185,7 @@ class SQLFORM(FORM):
buttonurl=url(args=[]), callback=None,
delete=None, trap=True, noconfirm=None, title=None):
if showbuttontext:
return A(SPAN(_class=ui.get(buttonclass)),
return A(SPAN(_class=ui.get(buttonclass)), CAT(' '),
SPAN(T(buttontext), _title=title or T(buttontext),
_class=ui.get('buttontext')),
_href=buttonurl,