Commit 817cbc17 by Kartik Visweswaran

Comments cleanup.

Cleaned up a few comments ... hope its not my OCD again... :-)
parent b979d3b0
...@@ -48,10 +48,10 @@ class Alert extends \yii\bootstrap\Widget ...@@ -48,10 +48,10 @@ class Alert extends \yii\bootstrap\Widget
$appendCss = isset($this->options['class']) ? ' ' . $this->options['class'] : ''; $appendCss = isset($this->options['class']) ? ' ' . $this->options['class'] : '';
foreach ($flashes as $type => $message) { foreach ($flashes as $type => $message) {
/* initialize css class for each alert box in loop */ /* initialize css class for each alert box */
$this->options['class'] = 'alert-' . $this->alertTypes[$type] . $appendCss; $this->options['class'] = 'alert-' . $this->alertTypes[$type] . $appendCss;
/* assign unique id to each alert box in the loop */ /* assign unique id to each alert box */
$this->options['id'] = $this->getId() . '-' . $type; $this->options['id'] = $this->getId() . '-' . $type;
echo \yii\bootstrap\Alert::widget([ echo \yii\bootstrap\Alert::widget([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment