<div class="attr-input attr-input-image-choose <?php echo esc_attr($class); ?>">


<?php


    // $options['large_img'] $options['icon'] $options['small_img'] self::strify($name) $label $value


    // $options['checked'] true / false


?>


    <div class="epress-admin-input-switch epress-admin-card-shadow attr-card-body">


        <input <?php echo esc_attr($options['checked'] === true ? 'checked' : ''); ?> 


            type="checkbox" value="<?php echo esc_attr($value); ?>" 


            class="epress-admin-control-input"


            name="<?php echo esc_attr($name); ?>" 


            id="epress-admin-switch__<?php echo esc_attr(self::strify($name) . $value); ?>"


        >





        <label class="epress-admin-control-label"  for="epress-admin-switch__<?php echo esc_attr(self::strify($name) . $value); ?>">


        <?php echo esc_html($label); ?>


            <span class="epress-admin-control-label-switch" data-active="ON" data-inactive="OFF"></span>


        </label>


    </div>





</div>