fixed bs3 form alignment
This commit is contained in:
@@ -27,7 +27,6 @@ div.w2p_flash.alert:hover {
|
|||||||
.main-container {
|
.main-container {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.error {
|
div.error {
|
||||||
width: auto;
|
width: auto;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
|||||||
+1
-1
@@ -936,7 +936,7 @@ def formstyle_bootstrap3_inline_factory(col_label_size=3):
|
|||||||
# wrappers
|
# wrappers
|
||||||
_help = SPAN(help, _class='help-block')
|
_help = SPAN(help, _class='help-block')
|
||||||
# embed _help into _controls
|
# 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 isinstance(controls, INPUT):
|
||||||
if controls['_type'] == 'submit':
|
if controls['_type'] == 'submit':
|
||||||
controls.add_class('btn btn-primary')
|
controls.add_class('btn btn-primary')
|
||||||
|
|||||||
Reference in New Issue
Block a user