module SimpleForm::Components::Errors

def error_text

def error_text
  text = has_custom_error? ? options[:error] : errors.send(error_method)
  "#{html_escape(options[:error_prefix])} #{html_escape(text)}".lstrip.html_safe
end