@if ($showLabel && $showField)
    @if ($options['wrapper'] !== false)
    <div <?= $options['wrapperAttrs'] ?> >
    @endif
@endif

    @if ($showLabel && $options['label'] !== false && $options['label_show'])
        <?= Form::customLabel($name, $options['label'], $options['label_attr']) ?>
    @endif
    @if ($showField)
    <div class="checkbox-container">
        <label>
            <?= Form::checkbox($name, $options['value'], $options['checked'], $options['attr']) ?>
            <span style="color: #737373; cursor: pointer; display: inline-block; font-weight: normal; margin-bottom: 0; position: relative; left: 5px; top: 2px;">
                <?= $options['help_block']['text'] ?>
            </span>
        </label>
    </div>
@endif

    @include('laravel-form-builder::errors')

@if ($showLabel && $showField)
    @if ($options['wrapper'] !== false)
    </div>
    @endif
@endif
