Hide/display checkboxes in views