<?php if(!$no_wrapper){?>
<div class="input-group h-100">
    <?php } ?>
    <div class="prod-option d-block" >
        <?php
        foreach ( $options as $v => $text ) {
            $check_id = preg_replace('/[^a-zA-Z0-9.-_]/', '', $id . $v); ?>
            <div class="prod-option m-2">
                <div class="form-check form-check-inline w-100">
                    <input id="<?php echo $check_id ?>"
                           class="form-check-input "
                           type="checkbox"
                           value="<?php echo $v ?>"
                           name="<?php echo $name ?>"
                        <?php echo (in_array($v, $value) ? ' checked="checked" ':'') ?>
                        <?php echo $attr; ?>
                        <?php echo (in_array($v, (array)$disabled_options) ? ' disabled="disabled" ':''); ?>>
                    <label class="form-check-label"
                           for="<?php echo $check_id ?>">
                        <?php echo $text ?>
                    </label>
                </div>
            </div>
        <?php } ?>
        <?php if ( $required) { ?>
            <span class="input-group-text border-0 text-danger">*</span>
        <?php } ?>
    </div>
        <?php
        if(!$no_wrapper){?>
    </div>
<?php } ?>
