mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
8 lines
419 B
PHP
8 lines
419 B
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 role="checkbox"
|
|
aria-checked="{{ $value ? 'true' : 'false' }}"
|
|
class="custom-checkbox text-primary">@icon('check')</span>
|
|
<span class="label">{{ $label }}</span>
|
|
</label> |