diff --git a/src/SxBootstrap/View/Helper/Bootstrap/Alert.php b/src/SxBootstrap/View/Helper/Bootstrap/Alert.php index 65a88c9..0923e9f 100644 --- a/src/SxBootstrap/View/Helper/Bootstrap/Alert.php +++ b/src/SxBootstrap/View/Helper/Bootstrap/Alert.php @@ -36,13 +36,13 @@ public function info() } /** - * Display an Error Alert + * Display a Danger Alert * * @return \SxBootstrap\View\Helper\Bootstrap\Alert */ - public function error() + public function danger() { - return $this->addClass('alert-error'); + return $this->addClass('alert-danger'); } /** diff --git a/src/SxBootstrap/View/Helper/Bootstrap/Badge.php b/src/SxBootstrap/View/Helper/Bootstrap/Badge.php index ec6f426..516a371 100644 --- a/src/SxBootstrap/View/Helper/Bootstrap/Badge.php +++ b/src/SxBootstrap/View/Helper/Bootstrap/Badge.php @@ -20,55 +20,6 @@ */ class Badge extends AbstractElementHelper { - /** - * Display an Informational Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function info() - { - return $this->addClass('badge-info'); - } - - /** - * Display an Important Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function important() - { - return $this->addClass('badge-important'); - } - - /** - * Display an Inverse Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function inverse() - { - return $this->addClass('badge-inverse'); - } - - /** - * Display a success Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function success() - { - return $this->addClass('badge-success'); - } - - /** - * Display a Warning Badge - * - * @return \SxBootstrap\View\Helper\Bootstrap\Badge - */ - public function warning() - { - return $this->addClass('badge-warning'); - } /** * Invoke Badge diff --git a/src/SxBootstrap/View/Helper/Bootstrap/Well.php b/src/SxBootstrap/View/Helper/Bootstrap/Well.php index 738c986..3924094 100644 --- a/src/SxBootstrap/View/Helper/Bootstrap/Well.php +++ b/src/SxBootstrap/View/Helper/Bootstrap/Well.php @@ -38,7 +38,7 @@ public function __invoke($content = '') */ public function small() { - $this->addClass('well-small'); + $this->addClass('well-sm'); return $this; } @@ -50,7 +50,7 @@ public function small() */ public function large() { - $this->addClass('well-large'); + $this->addClass('well-lg'); return $this; }