Enable or disable the template.