update.php
794 Bytes
<?php
use yii\helpers\Html;
/**
* @var yii\web\View $this
* @var common\models\RoadToCategory $model
* @var array $regions
* @var array $roads
* @var array $road_categories
*/
$this->title = 'Update Road To Category: ' . $model->road_to_category_id;
$this->params['breadcrumbs'][] = ['label' => 'Road To Categories', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->road_to_category_id, 'url' => ['view', 'id' => $model->road_to_category_id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="road-to-category-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
'regions' => $regions,
'roads' => $roads,
'road_categories' => $road_categories,
]) ?>
</div>