b0f143c3
Yarik
first commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model frontend\models\Option */
$this->title = Yii::t('app', 'Update {modelClass}: ', [
'modelClass' => 'Option',
]) . ' ' . $forms[0]['models'][\Yii::$app->request->get('id')]->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Options'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $forms[0]['models'][\Yii::$app->request->get('id')]->name, 'url' => ['view', 'id' => $forms[0]['models'][\Yii::$app->request->get('id')]->option_id]];
$this->params['breadcrumbs'][] = Yii::t('app', 'Update');
echo $this->render('layout');
?>
<div class="lang-column-2">
<?php foreach($forms as $oneform) {
echo $this->render('_form_adress_edit', $oneform);
}?>
</div>
|