update.php
599 Bytes
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Page */
$this->title = Yii::t('action', 'edit').': ' . ' ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => Yii::t('field', 'page'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->page_id, 'url' => [Yii::t('action', 'view'), 'id' => $model->page_id]];
$this->params['breadcrumbs'][] = Yii::t('action', 'update');
?>
<div class="page-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>