You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
/* @var $this yii\web\View */
|
|
|
|
/* @var $model PostForm */
|
|
|
|
/* @var $type PostType */
|
|
|
|
|
|
|
|
use core\entities\post\PostType;
|
|
|
|
use core\forms\post\PostForm;
|
|
|
|
|
|
|
|
$title = Yii::t('post', 'Create Post');
|
|
|
|
$this->title = $type->plural . ' > ' . $title;
|
|
|
|
$this->params['breadcrumbs'][] = ['label' => Yii::t('post', $type->plural), 'url' => ['index', 'tid' => $type->id]];
|
|
|
|
$this->params['breadcrumbs'][] = $title;
|
|
|
|
?>
|
|
|
|
<div class="post-create">
|
|
|
|
|
|
|
|
<?= $this->render('_form', [
|
|
|
|
'model' => $model,
|
|
|
|
]) ?>
|
|
|
|
|
|
|
|
</div>
|