1. Christoffer Niska
  2. yii-bootstrap
Issue #141 resolved

Fix missing closed <div> tag if $this->displayPrevAndNext = false;

VINAY KUMAR SHARMA
created an issue
echo CHtml::openTag('div', $this->htmlOptions);
echo '<div class="carousel-inner">';
$this->renderItems($this->items);
echo '</div>';

if ($this->displayPrevAndNext)
{
    echo '<a class="carousel-control left" href="#'.$id.'" data-slide="prev">'.$this->prevLabel.'</a>';
    echo '<a class="carousel-control right" href="#'.$id.'" data-slide="next">'.$this->nextLabel.'</a>';            
}
echo '</div>';

Comments (3)

  1. Log in to comment