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