mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-31 03:50:27 +03:00 
			
		
		
		
	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> |