mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Converted toggle switch into a blade/jquery template
This commit is contained in:
4
resources/views/components/toggle-switch.blade.php
Normal file
4
resources/views/components/toggle-switch.blade.php
Normal file
@ -0,0 +1,4 @@
|
||||
<div toggle-switch class="toggle-switch @if($value) active @endif">
|
||||
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
||||
<div class="switch-handle"></div>
|
||||
</div>
|
Reference in New Issue
Block a user