fixing the form fixer...
This commit is contained in:
		
							parent
							
								
									b3851df8ab
								
							
						
					
					
						commit
						6cf35dea02
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -314,7 +314,9 @@ with the image attached"
 | 
			
		|||
              (:table
 | 
			
		||||
               (loop for row in form
 | 
			
		||||
                     do (:tr
 | 
			
		||||
                         (:th (car row))
 | 
			
		||||
                         (:th (string-capitalize
 | 
			
		||||
                               (string-replace-all
 | 
			
		||||
                                "-" (car row) " ")))
 | 
			
		||||
                         (:td (cdr row))))))))))))
 | 
			
		||||
 | 
			
		||||
(defun mail-health-form (form attachment)
 | 
			
		||||
| 
						 | 
				
			
			@ -356,7 +358,9 @@ with the image attached"
 | 
			
		|||
              (:table
 | 
			
		||||
               (loop for row in form
 | 
			
		||||
                     do (:tr
 | 
			
		||||
                         (:th (string-capitalize (car row)))
 | 
			
		||||
                         (:th (string-capitalize
 | 
			
		||||
                               (string-replace-all
 | 
			
		||||
                                "-" (car row) " ")))
 | 
			
		||||
                         (:td (cdr row))))))))))))
 | 
			
		||||
 | 
			
		||||
(tbnl:define-easy-handler (health-form :uri "/health-form") ()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue