yii2-netdisk/views/admin/user_update.php

22 lines
526 B
PHP
Raw Permalink Normal View History

2024-03-22 14:48:35 +08:00
<?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>