Commit e1492bc6 authored by Carsten  Rose's avatar Carsten Rose
Browse files

BuildFormBootstrap.phpL #3413 Form ohne Pill hat kein padding am Rand. Fix:...

BuildFormBootstrap.phpL #3413 Form ohne Pill hat kein padding am Rand. Fix: falls kein Pill vorhanden ist wird neun zusaetzlich ein col-md-12 geliefert.
parent e9f50d34
......@@ -116,9 +116,11 @@ class BuildFormBootstrap extends AbstractBuildForm {
$html .= $this->getFormTag();
//TODO: Problem fuer Forms ohne Pils
$html .= '<div class="tab-content ' . $this->formSpec[F_CLASS_BODY] . '">';
// $html .= '<div class="col-md-12 ' . $this->formSpec[F_CLASS_BODY] . '">';
$class = ['tab-content', $this->formSpec[F_CLASS_BODY]];
if ($pill == '') {
$class[] = 'col-md-12';
}
$html .= "<div " . Support::doAttribute('class', $class) . ">";
return $html;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment