Creates custom view for standard html checkbox or radio input