add partial to locations new and edit views