fix company

This commit is contained in:
2018-11-05 12:45:21 +03:00
parent 369cf94f23
commit 51952e8c0d
4 changed files with 11 additions and 10 deletions

View File

@ -7,7 +7,7 @@ use yii\grid\GridView;
/* @var $searchModel backend\modules\company\models\CompanySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Companies';
$this->title = 'Компании';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="company-index">
@ -15,7 +15,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<p>
<?= Html::a('Create Company', ['create'], ['class' => 'btn btn-success']) ?>
<?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'id',
//'id',
'name',
'description:ntext',
'status_id',