single and group checkboxes and radios. using models passed via attr