diff --git a/src/Former/Framework/TwitterBootstrap4.php b/src/Former/Framework/TwitterBootstrap4.php index 98ac4488..5161b243 100644 --- a/src/Former/Framework/TwitterBootstrap4.php +++ b/src/Former/Framework/TwitterBootstrap4.php @@ -336,7 +336,7 @@ public function getActionClasses() */ public function createHelp($text, $attributes = array()) { - return Element::create('span', $text, $attributes)->addClass('form-text text-muted'); + return Element::create('small', $text, $attributes)->addClass('text-muted'); } /** @@ -362,7 +362,7 @@ public function createValidationError($text, $attributes = array()) */ public function createBlockHelp($text, $attributes = array()) { - return Element::create('p', $text, $attributes)->addClass('form-text text-muted'); + return Element::create('small', $text, $attributes)->addClass('form-text text-muted'); } /**