Example #1
0
?>
            
                <?php 
echo $form->field($model, 'is_hot')->dropDownList(Product::getIsHotLabels());
?>
            
                <?php 
echo $form->field($model, 'is_best')->dropDownList(Product::getIsBestLabels());
?>
            
                <?php 
echo $form->field($model, 'score')->textInput();
?>
            
                <?php 
echo $form->field($model, 'status')->dropDownList(Product::getStatusLabels());
?>
            
                <?php 
echo $form->field($model, 'display_order')->textInput();
?>
            </div>
            <div class="tab-pane" id="description">
                <?php 
echo $form->field($model, 'description')->widget(Ueditor::className(), ['style' => 'width:100%;height:400px', 'renderTag' => true, 'readyEvent' => 'console.log("example2 ready")', 'jsOptions' => ['serverUrl' => Url::to(['ueditor-upload']), 'autoHeightEnable' => true, 'autoFloatEnable' => true]]);
?>
            </div>
            <div class="tab-pane" id="picture">
                <style type='text/css'>
                    .upload-kit .upload-kit-item {
                        height: 50px;