Initial commit,修正
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model backend\models\Menu */
|
||||
|
||||
$this->title = '更新菜单: ' . ' ' . $model->name;
|
||||
$this->params['breadcrumbs'][] = ['label' => 'Menus', 'url' => ['index']];
|
||||
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
|
||||
$this->params['breadcrumbs'][] = 'Update';
|
||||
?>
|
||||
<div class="wrapper wrapper-content ">
|
||||
<div class="ibox-content">
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
<hr>
|
||||
<?= $this->render('_form', [
|
||||
'model' => $model,
|
||||
'menuArr' => $menuArr,
|
||||
]) ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user