1 <label components="custom-checkbox toggle-switch" class="toggle-switch">
2 <input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
3 <input type="checkbox" @if($value) checked="checked" @endif>
4 <span tabindex="0" role="checkbox"
5 aria-checked="{{ $value ? 'true' : 'false' }}"
6 class="custom-checkbox text-primary">@icon('check')</span>
7 <span class="label">{{ $label }}</span>