?> </div> </div> <div class="box box-solid"> <div class="box-body"> <?php echo $form->field($model, 'slug'); ?> <?php echo $form->field($model, 'published_at')->widget(DateTimePicker::className()); ?> <?php echo $form->field($model, 'status')->dropDownList(EntityStatusEnum::listData()); ?> <?php echo $form->field($model, 'commentEnabled')->dropDownList(CommentEnabledEnum::listdata()); ?> <?php if (!$model->isNewRecord) { ?> <?php echo $form->field($model, 'author_id')->dropDownList(Module::getUserList()); ?> <?php } ?>
<?php echo Html::a('<span class="glyphicon glyphicon-remove"></span> Delete', ['/comment/default/delete', 'id' => $model->comment_id], ['class' => 'btn btn-default', 'data' => ['confirm' => 'Are you sure you want to delete this item?', 'method' => 'post']]); ?> </div> </div> </div> </div> <div class="box box-solid"> <div class="box-body"> <div class="record-info"> <?php echo $form->field($model, 'status')->dropDownList(EntityStatusEnum::listData(), ['class' => '']); ?> <?php echo $form->field($model, 'entity')->textInput(); ?> <?php echo $form->field($model, 'entity_id')->textInput(); ?> <?php echo $form->field($model, 'parent_id')->textInput(); ?> </div>