Add missing TodoView template code