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')