<div class="jarviswidget-editbox"> <!-- This area used as dropdown edit box --> <input class="form-control" type="text" /> </div> <!-- end widget edit box --> <!-- widget content --> <div class="widget-body"> <?php echo $form->field($groupModel, 'id')->dropDownList($groups); ?> <?php foreach ($properties as $prop) { if ($prop->has_static_values == 0) { continue; } $property_values = app\models\PropertyStaticValues::getValuesForPropertyId($prop->id); ?> <div class="form-group"> <label class="col-md-2 control-label"><?php echo $prop->name; ?> </label> <div class="col-md-10"> <div class="scrollable-options-list"> <?php foreach ($property_values as $property_value) { ?> <?php $checked = false; if (isset($optionGenerate['values'][$prop->id][$property_value['id']])) {