From 1ed9b1b12c8784868211205a24485c1468dd5b43 Mon Sep 17 00:00:00 2001 From: cpa99dcs Date: Thu, 19 Jun 2014 12:18:27 +0100 Subject: [PATCH] Update class for Bootstrap 3. Can't see in your documentation which version(s) of Bootstrap this module is intended to support?... I'm using it with Bootstrap 3 so need to update class "error" to "danger". --- src/ZfcTwitterBootstrap/View/Helper/Alert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZfcTwitterBootstrap/View/Helper/Alert.php b/src/ZfcTwitterBootstrap/View/Helper/Alert.php index e2583a9..b8ab900 100644 --- a/src/ZfcTwitterBootstrap/View/Helper/Alert.php +++ b/src/ZfcTwitterBootstrap/View/Helper/Alert.php @@ -41,7 +41,7 @@ public function info($alert, $isBlock = false) */ public function error($alert, $isBlock = false) { - return $this->render($alert, $isBlock, 'alert-error'); + return $this->render($alert, $isBlock, 'alert-danger'); } /**