create and render groups of checkboxes