fixed grid button alignment, thanks SanDiego
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user