['enctype' => 'multipart/form-data']]); ?> field($model, 'name')->textInput(['maxlength' => true]) ?> field($model, 'alias')->textInput(['maxlength' => true]) ?> field($model, 'description')->textarea(['rows' => 6]) ?> field($model, 'categories')->dropDownList( ArtboxTreeHelper::treeMap(ProductHelper::getCategories(), 'category_id', 'name'), [ 'multiple' => true ] )->label('Use in the following categories') ?> field($model, 'is_filter')->checkbox() ?> field($model, 'display')->checkbox() ?> field($model, 'is_menu')->checkbox() ?> field($model, 'sort')->textInput() ?>
isNewRecord ? Yii::t('rubrication', 'Create') : Yii::t('rubrication', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>