<?php /* @var $this yii\web\View */ /* @var $category \core\entities\post\PostCategory */ /* @var $model \core\forms\post\PostCategoryForm */ /* @var $type \core\entities\post\PostType */ $title = Yii::t('post', 'Update: {name}', ['name' => $category->name]); $this->title = $type->plural . ' > ' . $title; $this->params['breadcrumbs'][] = ['label' => Yii::t('post', 'Categories'), 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $category->name, 'url' => ['view', 'id' => $category->id]]; $this->params['breadcrumbs'][] = Yii::t('buttons', 'Editing'); ?> <div class="category-update"> <?= $this->render('_form', [ 'model' => $model, ]) ?> </div>