From 79ba8cb6e401fd6bf9f964cff2b83b4270aee064 Mon Sep 17 00:00:00 2001 From: Daniel Libonati Date: Sat, 10 Feb 2018 22:07:01 -0300 Subject: [PATCH] Added row class to form-group so form becomes inline in Bootstrap v4 --- gluon/sqlhtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index b4ba4051..5ebc9619 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1183,7 +1183,7 @@ def formstyle_bootstrap4_inline_factory(col_label_size=3): if isinstance(label, LABEL): label['_class'] = add_class(label.get('_class'), 'form-control-label %s' % label_col_class) - parent.append(DIV(label, _controls, _class='form-group', _id=id)) + parent.append(DIV(label, _controls, _class='form-group row', _id=id)) return parent return _inner