Why not just make the template read-only?