<?php

use yii\helpers\Html;

/* @var $this yii\web\View */

$this->title = Yii::t('relation', $relation['name']);
$this->params['breadcrumbs'][] = ['label' => Yii::t('relation', 'Relations'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => Yii::t('relation', $relation['name']), 'url' => ['/relation/manage/pars', 'relation' => $relation_key]];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="tax-group-create">

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

    <?= $this->render('_form', [
        'model' => $model,
        'relation_key' => $relation_key,
        'relation' => $relation,
    ]) ?>

</div>
