def first_container_with_errors(self, errors):
for tab in self.fields:<EOL><INDENT>errors_here = any(error in tab for error in errors)<EOL>if errors_here:<EOL><INDENT>return tab<EOL><DEDENT><DEDENT>return None<EOL>
Returns the first container with errors, otherwise returns None.