@props([
    'col'   => 3,
    'name',
    'label',
    'value' => false,
])

<div class="col-md-{{ $col }}">
    <div class="form-check form-switch">
        <input type="hidden" name="{{ $name }}" value="0">

        <input
            type="checkbox"
            class="form-check-input"
            id="{{ $name }}"
            name="{{ $name }}"
            value="1"
            @checked(old($name, $value->$name ?? false))
            disabled
        >

        <label class="form-check-label fw-500" for="{{ $name }}" style="font-size: 0.95rem;">
            {{ $label }}
        </label>
    </div>
</div>
