1
0
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:
Dan Brown
2016-12-22 19:41:32 +00:00
parent 08c4b9ac7c
commit 242dc21876
5 changed files with 21 additions and 40 deletions

View 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>