render boolean attributes as checkbox