31 lines
684 B
PHP
Executable File
31 lines
684 B
PHP
Executable File
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\grid\GridView;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $dataProvider yii\data\ActiveDataProvider */
|
|
|
|
$this->title = 'Auth Item Children';
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
?>
|
|
<div class="auth-item-child-index">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<p>
|
|
<?= Html::a('Create Auth Item Child', ['create'], ['class' => 'btn btn-success']) ?>
|
|
</p>
|
|
<?= GridView::widget([
|
|
'dataProvider' => $dataProvider,
|
|
'columns' => [
|
|
['class' => 'yii\grid\SerialColumn'],
|
|
|
|
'parent',
|
|
'child',
|
|
|
|
['class' => 'yii\grid\ActionColumn'],
|
|
],
|
|
]); ?>
|
|
</div>
|