20 lines
257 B
PHP
20 lines
257 B
PHP
|
<?php
|
||
|
|
||
|
use backend\models\MainPageInstructionHeader;
|
||
|
use kartik\form\ActiveForm;
|
||
|
use yii\web\View;
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
$index = 'header';
|
||
|
if ($model->main_page_setting_id) {
|
||
|
$index = "[{$model->main_page_setting_id}]{$index}";
|
||
|
}
|
||
|
|
||
|
echo $form->field($model, $index);
|