kulcsok új és szerkesztési nézetek fordítása, legördülő lista alkalmazása type-ra

This commit is contained in:
rocho
2015-12-01 17:55:28 +01:00
parent 4872abbb20
commit 783d889ec7
8 changed files with 36 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ use common\models\Key;
$this->title = Yii::t('backend/key', 'Keys');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="key-index">
<div class="key-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php echo $this->render('_search', ['model' => $searchModel]); /* ezt megcsinálni hogy csak numberre lehessen itt a fitness-web/backend/views/key/_search.php töltődik be */?>
@@ -43,7 +43,10 @@ $this->params['breadcrumbs'][] = $this->title;
'created_at',
// 'updated_at',
['class' => 'yii\grid\ActionColumn'],
[
'class' => 'yii\grid\ActionColumn',
'template' => '{view} {update}',
],
],
]); ?>