<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\models\MainCategories */

$this->title = Yii::t('app', 'Update Main Category: {name}', [
    'name' => Yii::$app->language == 'ar' ? $model->arabic_name : $model->english_name,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Main Categories'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => Yii::$app->language == 'ar' ? $model->arabic_name : $model->english_name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = Yii::t('app', 'Update');
?>
<div class="main-categories-update">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= $this->render('_form', [
        'model' => $model,
        // 'special_item' => $special_item,
        // 'items' => $items
    ]) ?>

</div>
