22 lines
526 B
PHP
22 lines
526 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
|
|
/** @var yii\web\View $this */
|
|
/** @var app\models\User $model */
|
|
|
|
$this->title = 'Update User: ' . $model->name;
|
|
$this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['user']];
|
|
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['user-view', 'id' => $model->id]];
|
|
$this->params['breadcrumbs'][] = 'Update';
|
|
?>
|
|
<div class="user-update">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<?= $this->render('_user_form', [
|
|
'model' => $model,
|
|
]) ?>
|
|
|
|
</div>
|