only show location on edit pages