"top_slider","class"=>"col-md-4"]);
if(count($models)>1){
echo \yii\helpers\Html::beginTag('div',['class'=>'arrows']);
echo \yii\helpers\Html::tag('div','',['class'=>"prev"]);
echo \yii\helpers\Html::tag('div','',['class'=>"next"]);
echo \yii\helpers\Html::endTag('div');
}
echo \yii\helpers\Html::beginTag('div',["class"=>"slides"]);
foreach ($models as $model){
$k++;
echo $this->render('_partner_news_item',["model"=>$model->post,"key"=>$k]);
}
echo \yii\helpers\Html::endTag('div');
echo \yii\helpers\Html::endTag('div');
?>