Refactor edit links based on owner vs admin edit.