'form',
'options' => ['enctype' => 'multipart/form-data'],
]); ?>
= $form->field($model, 'parent_id')->dropDownList(
ArrayHelper::map(Catalog::find()->where('parent_id=0')->orderBy('id')->all(), 'id', 'name'),['prompt'=>'Корневой раздел','value'=>0]) ?>
= $form->field($model, 'sort') ?>
= $form->field($model, 'name') ?>
/*$form->field($model, 'translit', [
'addon' => ['prepend' => ['content'=>'@']]
]);*/?>
= $form->field($model, 'translit',[
'inputTemplate' => '
catalog/{input}
',
]);?>
= $form->field($model, 'image')->fileInput() ?>
= $form->field($model, 'old_image')->hiddenInput(['value'=>$model->image])->label(false); ?>
=$form->field($model, 'body')->widget(CKEditor::className(),[
'editorOptions' => ElFinder::ckeditorOptions('elfinder',[/* Some CKEditor Options */]),
]);
?>
= $form->field($model, 'fasovka_name') ?>
= $form->field($model, 'type_name') ?>
= $form->field($model, 'brends_name') ?>
= $form->field($model, 'meta_title') ?>
= $form->field($model, 'meta_keywords') ?>
= $form->field($model, 'meta_description') ?>
= Html::submitButton('Сохранить', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>