fitness-web/backend/views/warehouse/update.php

24 lines
707 B
PHP

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