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