<div class="row new-production-appended-data-rows">
    <div class="col-md-5">
        <div class="form-group">
            <select class="form-control cv-required chosen-select appended-chosen" name="item[]">
                <option disabled="" selected="">-- <?= print_lang($app_lang,'mod_production_new_formula_add_input_item'); ?> --</option>
                <?php foreach($items as $row){ ?>
                    <option <?php if($item == $row['uid']){echo "selected='selected'";}?> value="<?= $row['uid']; ?>"><?= $row['name']; ?> (<?= $row['item_id']; ?>) (<?= $row['purchase_unit_name']; ?>)</option>
                <?php } ?>
            </select>
        </div>
    </div>
    <div class="col-md-5">
        <div class="form-group">
            <input type="text" class="form-control cv-required" value="<?= $percentage; ?>" name="percentage[]" placeholder="<?= print_lang($app_lang,'mod_production_raw_relation_add_input_qty'); ?>">
        </div>
    </div>
    <div class="col-md-2">
        <button class="btn btn-danger new-production-formula-items-del-btn" type="button"><?= print_lang($app_lang,'mod_production_new_formula_add_remove'); ?></button>
    </div>
</div>