Commit 50a0e395 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch '6452-no-form-title-design' into 'master'

Bug #6452 No Form Title (Design)

See merge request !67
parents 2a190d01 3091fdac
Pipeline #770 passed with stage
in 1 minute and 38 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