def first_container_with_errors(self, errors):
        for tab in self.fields:
            errors_here = any(error in tab for error in errors)
            if errors_here:
                return tab
        return None
Returns the first container with errors, otherwise returns None.
dataset/ETHPy150Open maraujop/django-crispy-forms/crispy_forms/bootstrap.py/ContainerHolder.first_container_with_errors