adds edit link to location page