You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
599 B

<?php
/**
* Created by PhpStorm.
* User: livan
* Date: 2018/7/9
* Time: 14:22
*/
use yii\helpers\Html;
?>
<div>
<div class="row">
<div class="col-lg-3">
<?= $form->field($model, 'description')->widget('common\widgets\ueditor\Ueditor',[
'options'=>[
'initialFrameWidth' => 760,//宽度
'initialFrameHeight' => 500,//高度
]
]) ?>
</div>
</div>
<div class="form-group">
<?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
</div>
</div>