yii2-netdisk/views/admin/announcements_update.php
Chenx221 475cd97946
实现公告功能
*前端 公告管理部分
2024-04-21 16:42:37 +08:00

22 lines
603 B
PHP

<?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\models\Announcements $model */
$this->title = '修改公告: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => '公告管理', 'url' => ['announcements-manage']];
$this->params['breadcrumbs'][] = ['label' => '公告ID '.$model->id, 'url' => ['announcements-view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = '修改公告';
?>
<div class="announcements-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_announcements_form', [
'model' => $model,
]) ?>
</div>