mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-03 02:13:16 +03:00 
			
		
		
		
	Old input check potentialy causing issues (#89) and is not needed on the pages which it shows.
		
			
				
	
	
		
			6 lines
		
	
	
		
			264 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			264 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
 | 
						|
<label>
 | 
						|
    <input value="true" id="{{$name}}[{{$role->id}}][{{$action}}]" type="checkbox" name="{{$name}}[{{$role->id}}][{{$action}}]"
 | 
						|
           @if(isset($model) && $model->hasRestriction($role->id, $action)) checked="checked" @endif>
 | 
						|
    {{ $label }}
 | 
						|
</label> |