|  |  |  | @ -50,11 +50,10 @@ | 
		
	
		
			
				|  |  |  |  |            [:td | 
		
	
		
			
				|  |  |  |  |             (prettify-dt (:created_at schema))]])]] | 
		
	
		
			
				|  |  |  |  |       [:h1 "Pali sin e jaki ijo"] | 
		
	
		
			
				|  |  |  |  |       (hform/form-to | 
		
	
		
			
				|  |  |  |  |        [:post (path :schema-new)] | 
		
	
		
			
				|  |  |  |  |       (hform/form-to [:post (path :schema-new)] | 
		
	
		
			
				|  |  |  |  |                      (anti-forgery-field) | 
		
	
		
			
				|  |  |  |  |                      (form/field new-form :schema-name req) | 
		
	
		
			
				|  |  |  |  |        (hform/submit-button "Pali") | 
		
	
		
			
				|  |  |  |  |        (anti-forgery-field))]))) | 
		
	
		
			
				|  |  |  |  |                      (hform/submit-button "Pali"))]))) | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | (defn show-schema! [schema attrs req] | 
		
	
		
			
				|  |  |  |  |   (view/layout! | 
		
	
	
		
			
				
					|  |  |  | @ -62,15 +61,13 @@ | 
		
	
		
			
				|  |  |  |  |    :content | 
		
	
		
			
				|  |  |  |  |    [[:h1 "Jaki ijo " | 
		
	
		
			
				|  |  |  |  |      [:span.schema-title__name (:name schema)]] | 
		
	
		
			
				|  |  |  |  |     (hform/form-to | 
		
	
		
			
				|  |  |  |  |      [:post "/schema/edit"]) | 
		
	
		
			
				|  |  |  |  |     (hform/form-to [:post "/schema/edit"]) | 
		
	
		
			
				|  |  |  |  |     [:h2 "Lili wan e jaki ijo"] | 
		
	
		
			
				|  |  |  |  |     [:ul | 
		
	
		
			
				|  |  |  |  |      (for [attr attrs] | 
		
	
		
			
				|  |  |  |  |        [:li (:name attr)])] | 
		
	
		
			
				|  |  |  |  |     [:h3 "Pali lili wan"] | 
		
	
		
			
				|  |  |  |  |     (hform/form-to | 
		
	
		
			
				|  |  |  |  |      [:post (path :attribute-new)] | 
		
	
		
			
				|  |  |  |  |     (hform/form-to [:post (path :attribute-new)] | 
		
	
		
			
				|  |  |  |  |                    (anti-forgery-field) | 
		
	
		
			
				|  |  |  |  |                    (hform/hidden-field "schema" (:uuid schema)) | 
		
	
		
			
				|  |  |  |  |                    (form/field new-attr-form :name req) | 
		
	
	
		
			
				
					|  |  |  | @ -78,8 +75,7 @@ | 
		
	
		
			
				|  |  |  |  |                    (form/check-box new-attr-form :required req) | 
		
	
		
			
				|  |  |  |  |                    (hform/submit-button "Pali")) | 
		
	
		
			
				|  |  |  |  |     [:h2 "Mute pali"] | 
		
	
		
			
				|  |  |  |  |     (hform/form-to | 
		
	
		
			
				|  |  |  |  |      {:class "inline"} | 
		
	
		
			
				|  |  |  |  |     (hform/form-to {:class "inline"} | 
		
	
		
			
				|  |  |  |  |                    [:delete (path :schema-delete schema)] | 
		
	
		
			
				|  |  |  |  |                    (anti-forgery-field) | 
		
	
		
			
				|  |  |  |  |                    (hform/submit-button "Pakala!"))])) | 
		
	
	
		
			
				
					|  |  |  | 
 |