Skip to content

Commit

Permalink
Fix the Bootstrap 4 help blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Oct 27, 2018
1 parent ecd1772 commit 3834c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Former/Framework/TwitterBootstrap4.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand All @@ -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');
}

/**
Expand Down

0 comments on commit 3834c22

Please sign in to comment.