|
|
@ -0,0 +1,31 @@ |
|
|
|
<?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> |
|
|
|
|