d8c1a2e0
Yarik
Big commit artbox
|
1
|
<?php
|
d55d2fe0
Yarik
Multilanguage
|
2
|
|
21aedefe
Yarik
Another one admin...
|
3
|
use common\models\SeoCategory;
|
d55d2fe0
Yarik
Multilanguage
|
4
5
6
7
8
9
10
11
12
|
use common\models\SeoDynamic;
use common\models\SeoDynamicLang;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\web\View;
/**
* @var View $this
* @var SeoDynamic $model
|
8af13427
Yarik
For leha commit.
|
13
|
* @var SeoDynamicLang[] $modelLangs
|
21aedefe
Yarik
Another one admin...
|
14
|
* @var SeoCategory $seo_category
|
d55d2fe0
Yarik
Multilanguage
|
15
16
17
18
|
*/
$this->title = Yii::t('app', 'Create Seo Dynamic');
$this->params[ 'breadcrumbs' ][] = [
|
21aedefe
Yarik
Another one admin...
|
19
20
21
22
|
'label' => Yii::t('app', 'Seo Categories'),
'url' => [ '/seo-category/index' ],
];
$this->params[ 'breadcrumbs' ][] = [
|
8af13427
Yarik
For leha commit.
|
23
|
'label' => $seo_category->lang->title,
|
21aedefe
Yarik
Another one admin...
|
24
|
'url' => [
|
d55d2fe0
Yarik
Multilanguage
|
25
|
'index',
|
4428da8c
Yarik
Almost all databa...
|
26
|
'seo_category_id' => $seo_category->id,
|
21aedefe
Yarik
Another one admin...
|
27
|
],
|
d55d2fe0
Yarik
Multilanguage
|
28
29
|
];
$this->params[ 'breadcrumbs' ][] = $this->title;
|
d8c1a2e0
Yarik
Big commit artbox
|
30
31
|
?>
<div class="seo-dynamic-create">
|
d55d2fe0
Yarik
Multilanguage
|
32
|
|
d8c1a2e0
Yarik
Big commit artbox
|
33
|
<h1><?= Html::encode($this->title) ?></h1>
|
d55d2fe0
Yarik
Multilanguage
|
34
|
|
4428da8c
Yarik
Almost all databa...
|
35
36
37
38
39
40
41
|
<?= $this->render(
'_form',
[
'model' => $model,
'modelLangs' => $modelLangs,
]
) ?>
|
d8c1a2e0
Yarik
Big commit artbox
|
42
43
|
</div>
|