checkbox and radio type rendering