Размер файла: 656B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Groups', 'My groups');
?>
<div class="blue_block">
<strong>← <?= CHtml::link(Yii::t('Groups', 'Back to groups'), array('index')) ?></strong>
</div>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider' => $groups,
'itemView' => '../group/_group',
'template' => '{items}'.PHP_EOL.'{pager}',
'pager' => array('class' => 'CPager'),
'emptyText' => CHtml::tag('div', array('class' => 'text'), Yii::t('Groups', 'No groups found')),
)) ?>
<div class="blue_label"><?= Yii::t('Groups', 'Add a new group') ?></div>
<?php $this->renderPartial('../group/_form', array('model' => $model)) ?>