pengcx
- pengcx 2017-05-23 已签到连续签到2天,获得了10个金钱
- pengcx 2017-05-22 已签到连续签到1天,获得了5个金钱
- pengcx 2017-05-18 已签到连续签到1天,获得了5个金钱
- pengcx 赞了回答
<?php $form = ActiveForm::begin([ 'action' => ['test/getpost'], 'method'=>'post', 'options'=>['class'=>'form form-horizontal'], 'id'=>'form-dict-add', 'fieldConfig'=>[ 'template'=> "{label}\n<div class=\"formControls col-xs-8 col-sm-9\">{input}</div>\n{error}", 'labelOptions'=>['class'=>'form-label col-xs-4 col-sm-2'], 'options'=>['class'=>'row cl'], ] ]); ?>
这么写options去改变外层生成div的class
- pengcx 2017-05-16 已签到连续签到1天,获得了5个金钱
- pengcx 2017-05-13 已签到连续签到3天,获得了15个金钱
- pengcx 2017-05-12 已签到连续签到2天,获得了10个金钱
- pengcx 2017-05-11 已签到连续签到1天,获得了5个金钱