moved edit button from list page to show page