{edit_link} seems like a much cleaner way to do this.