add ugiro changes

This commit is contained in:
2016-04-18 19:22:53 +02:00
parent 01ada90e8c
commit 776e0ea3e0
4 changed files with 47 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ use yii\widgets\DetailView;
use yii\helpers\Url;
use common\models\Ugiro;
use yii\widgets\ActiveForm;
use yii\grid\GridView;
use yii\base\Widget;
use yii\grid\ActionColumn;
/* @var $this yii\web\View */
/* @var $model common\models\Ugiro */
@@ -85,6 +88,29 @@ $attributes = [
'attributes' => $attributes,
]) ?>
<h1>Detsta válaszok</h1>
<?php
echo GridView::widget(
[
'dataProvider' => $detstaDp,
'columns' =>[
[
'attribute' => 'created_at',
'label' => 'Létrehozva'
],
[
'class' => ActionColumn::className()
]
]
]
);
?>
</div>
<div class="btns">
<?php