您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

22 行
520B

  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $model common\models\User */
  5. $this->title = 'Update User: ' . ' ' . $model->id;
  6. $this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
  8. $this->params['breadcrumbs'][] = 'Update';
  9. ?>
  10. <div class="user-update">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <?= $this->render('_form', [
  13. 'model' => $model,
  14. ]) ?>
  15. </div>