?> <?php echo $form->field($model, 'promotion_price')->textInput(['maxlength' => true]); ?> <?php echo $form->field($model, 'promotion_start_time')->widget(DatePicker::classname(), ['dateFormat' => 'yyyy-MM-dd']); ?> <?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