2019-02-02 23:49:57 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{{--TODO - Make custom--}}
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-28 18:49:41 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<label>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <input value="true" id="{{$name}}[{{$role->id}}][{{$action}}]" type="checkbox" name="{{$name}}[{{$role->id}}][{{$action}}]"
							 | 
						
					
						
							
								
									
										
										
										
											2016-04-03 17:23:16 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								           @if(isset($model) && $model->hasRestriction($role->id, $action)) checked="checked" @endif>
							 | 
						
					
						
							
								
									
										
										
										
											2016-02-28 18:49:41 +08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {{ $label }}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</label>
							 |