Commit 3091fdac authored by Elias Villiger's avatar Elias Villiger
Browse files

Bug #6452 No Form Title (Design)

parent fef1a122
Pipeline #714 passed with stage
in 1 minute and 45 seconds
......@@ -126,7 +126,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
$button = Support::wrapTag('<div class="row"><div class="col-md-12">', $this->buildButtons());
// Show title / frame only if there is a title given.
if ($this->formSpec[F_TITLE] != '') {
if (trim($this->formSpec[F_TITLE]) != '') {
$classTitle = isset($this->formSpec[F_CLASS_TITLE]) ? $this->formSpec[F_CLASS_TITLE] : "qfq-form-title";
$title = Support::wrapTag('<div class="row"><div class="col-md-12">', Support::wrapTag('<div class="' . $classTitle . '">', $this->formSpec[F_TITLE]));
}
......
Supports Markdown
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