diff src/lib/Shared.luan @ 23:c54c806fcc6e

add delete_post
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 05 Nov 2024 16:09:10 -0700
parents 949914955bfe
children af41be2dcdec
line wrap: on
line diff
--- a/src/lib/Shared.luan	Tue Nov 05 14:29:16 2024 -0700
+++ b/src/lib/Shared.luan	Tue Nov 05 16:09:10 2024 -0700
@@ -107,7 +107,7 @@
 					<img onclick="clickMenu(this)" src="/images/more_vert.svg">
 					<div>
 						<span>Edit</span>
-						<span>Delete</span>
+						<span onclick="deletePost('<%=id%>')">Delete</span>
 					</div>
 				<span>
 <%	end %>