| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -139,7 +139,7 @@ class ItemController extends Controller | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['tags'] = Item::ofType('tag')->orderBy('title', 'asc')->pluck('title', 'id'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['tags']->prepend('Home dashboard', 0); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['tags']->prepend(__('app.dashboard'), 0); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['current_tags'] = []; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return view('items.create', $data); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -215,7 +215,7 @@ class ItemController extends Controller | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // Get the item | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['item'] = Item::find($id); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['tags'] = Item::ofType('tag')->orderBy('title', 'asc')->pluck('title', 'id'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['tags']->prepend('Home dashboard', 0); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['tags']->prepend(__('app.dashboard'), 0); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $data['current_tags'] = $data['item']->tags(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //$data['current_tags'] = $data['item']->parent; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //die(print_r($data['current_tags'])); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |