21 lines
421 B
PHP
21 lines
421 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
|
|
/** @var yii\web\View $this */
|
|
/** @var app\models\User $model */
|
|
|
|
$this->title = '添加用户';
|
|
$this->params['breadcrumbs'][] = ['label' => '用户管理', 'url' => ['user']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
?>
|
|
<div class="user-create">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<?= $this->render('_user_add_form', [
|
|
'model' => $model,
|
|
]) ?>
|
|
|
|
</div>
|