From 484f02cae15e3dd027845e5a302aff40845c51b9 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 10 Feb 2016 16:04:27 -0600 Subject: [PATCH] fixed grid button alignment, thanks SanDiego --- gluon/sqlhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index ea82e39b..fd06b8d6 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -936,7 +936,7 @@ def formstyle_bootstrap3_inline_factory(col_label_size=3): # wrappers _help = SPAN(help, _class='help-block') # embed _help into _controls - _controls = DIV(controls, _help, _class=col_class) + _controls = DIV(controls, _help, _class="%s %s" % (offset_class, col_class)) if isinstance(controls, INPUT): if controls['_type'] == 'submit': controls.add_class('btn btn-primary')