Your IP : 216.73.216.79


Current Path : /var/www/html/bookstack/resources/views/form/
Upload File :
Current File : /var/www/html/bookstack/resources/views/form/toggle-switch.blade.php

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