7 lines
431 B
PHP
7 lines
431 B
PHP
<div class="{{ $inline ? 'form-check form-check-inline' : 'form-check mb-3' }}" style="{{ !$inline ? 'margin-left: 20.9%;' : '' }}">
|
|
<input type="checkbox" wire:model="value" class="form-check-input" id="{{ $name }}" {{ $required ? 'required' : '' }}>
|
|
<label for="{{ $name }}" class="form-check-label">{{ $label }}</label>
|
|
@error('value')
|
|
<div class="text-danger small">{{ $message }}</div>
|
|
@enderror
|
|
</div> |