updated show pending partial to add edit_mode