mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-06 01:22:23 +00:00
![Dan Brown](/assets/img/avatar_default.png)
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> |