yii2-netdisk/views/user/update.php
2024-02-09 12:15:09 +08:00

22 lines
513 B
PHP

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