mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 20:00:47 +08:00
b00b319e83
Since flexbox is better supported on a wider range of elements
6 lines
320 B
PHP
6 lines
320 B
PHP
<label toggle-switch="{{$name}}" class="toggle-switch">
|
|
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
|
<input type="checkbox" @if($value) checked="checked" @endif>
|
|
<span class="custom-checkbox text-primary">@icon('check')</span>
|
|
<span class="label">{{ $label }}</span>
|
|
</label> |