6 lines
No EOL
375 B
PHP
6 lines
No EOL
375 B
PHP
<label toggle-switch="{{$name}}" class="toggle-switch">
|
|
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
|
<input type="checkbox" @if($value) checked="checked" @endif>
|
|
<span class="custom-checkbox text-primary">@icon('check')</span>
|
|
<span class="label">{{ $label ?? '' }}</span> {{-- TODO - remove default operataor backup --}}
|
|
</label> |