2019-06-04 05:45:44 -04:00
|
|
|
<label toggle-switch="{{$name}}" custom-checkbox class="toggle-switch">
|
2016-12-22 14:41:32 -05:00
|
|
|
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
2019-02-02 10:49:57 -05:00
|
|
|
<input type="checkbox" @if($value) checked="checked" @endif>
|
2019-06-04 05:45:44 -04:00
|
|
|
<span tabindex="{{ $tabindex ?? '0' }}"
|
|
|
|
role="checkbox"
|
|
|
|
aria-checked="{{ $value ? 'true' : 'false' }}"
|
|
|
|
class="custom-checkbox text-primary">@icon('check')</span>
|
2019-02-16 10:05:18 -05:00
|
|
|
<span class="label">{{ $label }}</span>
|
2019-02-02 10:49:57 -05:00
|
|
|
</label>
|