crispy_forms_foundation/layout/containers.py
def has_errors(self, form):
        """
        Find tab fields listed as invalid
        """
        return any([fieldname_error for fieldname_error in form.errors.keys()
                    if fieldname_error in self])
def has_errors(self, form):
        return any([fieldname_error for fieldname_error in form.errors.keys()
                    if fieldname_error in self])
def has_errors ( self , form ) : return any ( [ fieldname_error for fieldname_error in form . errors . keys ( ) if fieldname_error in self ] )
Find tab fields listed as invalid
Find tab fields listed as invalid