Refactor templates a bit, more Edit links.