|  |  |  | @ -60,7 +60,24 @@ | 
		
	
		
			
				|  |  |  |  |       (list [:h3 (h (:name attr))] | 
		
	
		
			
				|  |  |  |  |             [:div {:class (str "instance-content " | 
		
	
		
			
				|  |  |  |  |                                "attr-type-" type)} | 
		
	
		
			
				|  |  |  |  |              (render-fn (:value prop))]))])) | 
		
	
		
			
				|  |  |  |  |              (render-fn (:value prop))])) | 
		
	
		
			
				|  |  |  |  |     (when-not (empty? (:links-out instance)) | 
		
	
		
			
				|  |  |  |  |       [:section.links | 
		
	
		
			
				|  |  |  |  |        [:h2 "Outgoing Links"] | 
		
	
		
			
				|  |  |  |  |        [:table | 
		
	
		
			
				|  |  |  |  |         [:thead | 
		
	
		
			
				|  |  |  |  |          [:tr | 
		
	
		
			
				|  |  |  |  |           [:th "Name"] | 
		
	
		
			
				|  |  |  |  |           [:th "Schema"] | 
		
	
		
			
				|  |  |  |  |           [:th "Instance"] | 
		
	
		
			
				|  |  |  |  |           [:th "Created"]]] | 
		
	
		
			
				|  |  |  |  |         [:tbody | 
		
	
		
			
				|  |  |  |  |          (for [{:keys [link target schema]} (:links-out instance)] | 
		
	
		
			
				|  |  |  |  |            [:tr | 
		
	
		
			
				|  |  |  |  |             [:td (h (:name link))] | 
		
	
		
			
				|  |  |  |  |             [:td (h (:name schema))] | 
		
	
		
			
				|  |  |  |  |             [:td (h (:name target))] | 
		
	
		
			
				|  |  |  |  |             [:td (prettify-dt (:created_at link))]])]]])])) | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | (defn edit! [instance form form-data schemas req] | 
		
	
		
			
				|  |  |  |  |   (view/layout! | 
		
	
	
		
			
				
					|  |  |  | 
 |