# File lib/simple_form/components/errors.rb, line 37 def object_with_errors? object && object.respond_to?(:errors) && errors.present? end