fixed bs3 form alignment
This commit is contained in:
@@ -27,7 +27,6 @@ div.w2p_flash.alert:hover {
|
||||
.main-container {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div.error {
|
||||
width: auto;
|
||||
background: transparent;
|
||||
|
||||
+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="%s %s" % (offset_class, col_class))
|
||||
_controls = DIV(controls, _help, _class="%s" % (col_class))
|
||||
if isinstance(controls, INPUT):
|
||||
if controls['_type'] == 'submit':
|
||||
controls.add_class('btn btn-primary')
|
||||
|
||||
Reference in New Issue
Block a user