Merge pull request #1232 from BuhtigithuB/improve-grib-button-display
a space between grid button icon and text is much more beautiful
This commit is contained in:
+1
-1
@@ -2185,7 +2185,7 @@ class SQLFORM(FORM):
|
|||||||
buttonurl=url(args=[]), callback=None,
|
buttonurl=url(args=[]), callback=None,
|
||||||
delete=None, trap=True, noconfirm=None, title=None):
|
delete=None, trap=True, noconfirm=None, title=None):
|
||||||
if showbuttontext:
|
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),
|
SPAN(T(buttontext), _title=title or T(buttontext),
|
||||||
_class=ui.get('buttontext')),
|
_class=ui.get('buttontext')),
|
||||||
_href=buttonurl,
|
_href=buttonurl,
|
||||||
|
|||||||
Reference in New Issue
Block a user