update.php
699 Bytes
<?php
use yii\helpers\Html;
/**
* @var $this yii\web\View
* @var $model common\models\Product
* @var \common\models\ProductLang $modelLangs
*/
$this->title = Yii::t('app', 'Update {modelClass}: ', [
'modelClass' => 'Product',
]) . $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Products'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = Yii::t('app', 'Update');
?>
<div class="objectkb-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
'modelLangs' => $modelLangs,
]) ?>
</div>