diff src/lib/Shared.luan @ 24:af41be2dcdec

add edit_post
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 05 Nov 2024 19:45:08 -0700
parents c54c806fcc6e
children e2b7f6393dab
line wrap: on
line diff
--- a/src/lib/Shared.luan	Tue Nov 05 16:09:10 2024 -0700
+++ b/src/lib/Shared.luan	Tue Nov 05 19:45:08 2024 -0700
@@ -106,7 +106,7 @@
 				<span pulldown>
 					<img onclick="clickMenu(this)" src="/images/more_vert.svg">
 					<div>
-						<span>Edit</span>
+						<span onclick="editPost('<%=id%>')">Edit</span>
 						<span onclick="deletePost('<%=id%>')">Delete</span>
 					</div>
 				<span>