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

21 lines
460 B
PHP

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