2019-02-02 16:49:57 +01:00
|
|
|
<label toggle-switch="{{$name}}" 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-02-03 14:45:45 +01:00
|
|
|
<span class="custom-checkbox text-primary">@icon('check')</span>
|
2019-02-02 16:49:57 +01:00
|
|
|
<span class="label">{{ $label ?? '' }}</span> {{-- TODO - remove default operataor backup --}}
|
|
|
|
</label>
|