fix company
This commit is contained in:
@ -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',
|
||||
|
Reference in New Issue
Block a user