From 1b25d9bddaef46612e3518aff53cca4c4545e067 Mon Sep 17 00:00:00 2001
From: Carsten  Rose <carsten.rose@math.uzh.ch>
Date: Mon, 6 Mar 2017 20:40:05 +0100
Subject: [PATCH] #3180=#2081 dynamicUpdate:

BuildFormBootstrap.php: wrap note in class 'qfq-note'
---
 extension/qfq/qfq/BuildFormBootstrap.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/extension/qfq/qfq/BuildFormBootstrap.php b/extension/qfq/qfq/BuildFormBootstrap.php
index ea9758e1e..5455a1812 100644
--- a/extension/qfq/qfq/BuildFormBootstrap.php
+++ b/extension/qfq/qfq/BuildFormBootstrap.php
@@ -79,7 +79,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
         $this->wrap[WRAP_SETUP_LABEL][WRAP_SETUP_END] = "</div>";
         $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_START] = "<div class='col-md-$input'>";
         $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_END] = "</div>";
-        $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_START] = "<div class='col-md-$note'>";
+        $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_START] = "<div class='col-md-$note qfq-note'>";
         $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_END] = "</div>";
 
     }
@@ -429,7 +429,8 @@ EOF;
             [$this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_START], $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_END]], $formElement[FE_HTML_ID] . HTML_ID_EXTENSION_INPUT);
 
         // Note
-        $note = Support::wrapTag("<div class='qfq-note'>", $formElement[FE_NOTE], true);
+//        $note = Support::wrapTag("<div class='qfq-note'>", $formElement[FE_NOTE], true);
+        $note = $formElement[FE_NOTE];
         $html .= $this->customWrap($formElement, $note, FE_WRAP_NOTE, $formElement[FE_BS_NOTE_COLUMNS],
             [$this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_START], $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_END]], $formElement[FE_HTML_ID] . HTML_ID_EXTENSION_NOTE);
 
-- 
GitLab