{{--
Checkbox Component
A checkbox with authorization support, label positioning, and description.
Props:
- id: string (required) - Checkbox element ID
- label: string|null - Label text
- description: string|null - Description text below label
- error: string|null - Error message
- labelPosition: string - Label position: 'left' or 'right' (default: 'right')
- disabled: bool - Whether checkbox is disabled
- canGate: string|null - Gate/ability to check
- canResource: mixed|null - Resource to check against
- canHide: bool - Hide instead of disable when unauthorized
Usage:
{{ $description }}
@endif{{ $error }}
@elseif($errors->has($id)){{ $errors->first($id) }}
@endif