mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 20:00:47 +08:00
ecdeb545e0
Removed uppercasing of labels to make a little friendlier. Extracted out toggleswitch JS into own component. Improved basic code input for html-head-input area.
4 lines
202 B
PHP
4 lines
202 B
PHP
<div toggle-switch="{{$name}}" class="toggle-switch @if($value) active @endif">
|
|
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
|
<div class="switch-handle"></div>
|
|
</div> |