show edit link on detail page
create event edit function