add suppport for widget templates for input types radio and checkbox, and textarea