Switching message type for auto-generated forms
This commit is contained in:
+1
-1
@@ -774,7 +774,7 @@ def formstyle_bootstrap(form, fields):
|
||||
parent = FIELDSET()
|
||||
for id, label, controls, help in fields:
|
||||
# wrappers
|
||||
_help = SPAN(help, _class='help-inline')
|
||||
_help = SPAN(help, _class='help-block')
|
||||
# embed _help into _controls
|
||||
_controls = DIV(controls, _help, _class='controls')
|
||||
# submit unflag by default
|
||||
|
||||
Reference in New Issue
Block a user