28 lines
552 B
PHP
Executable File
28 lines
552 B
PHP
Executable File
<?php
|
|
|
|
use yii\web\View;
|
|
use yii\helpers\Html;
|
|
use common\components\user\models\User;
|
|
|
|
/**
|
|
* @var $this View
|
|
* @var $model User
|
|
*/
|
|
|
|
$this->title = Yii::t('user', 'Добавление');
|
|
$this->params['breadcrumbs'][] = ['label' => Yii::t('user', 'Пользователи'), 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
|
|
?>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<?= $this->render('_form', [
|
|
'model' => $model,
|
|
]) ?>
|
|
|
|
</div>
|
|
</div>
|