Creates a custom view for standart html checkbox or radio