Example #1
0
?>
            
                <?php 
echo $form->field($model, 'promotion_end_time')->widget(DatePicker::classname(), ['dateFormat' => 'yyyy-MM-dd']);
?>
            
                <?php 
echo $form->field($model, 'is_new')->dropDownList(Product::getIsNewLabels());
?>
            
                <?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">