首页 > 代码库 > 改变yii2 $form最外层div样式

改变yii2 $form最外层div样式

<?php $form = ActiveForm::begin([
‘options‘=>[‘class‘ => ‘form-horizontal row-border‘,‘enctype‘=>"multipart/form-data"],
‘fieldConfig‘=>[
‘options‘=>[‘class‘=>‘row cl‘],//改变class类
]

]); ?>

改变yii2 $form最外层div样式