app/helpers/doorkeeper/form_errors_helper.rb



module Doorkeeper::FormErrorsHelper
  def errors_for(object, method)
    if object.errors[method].present?
      content_tag(:span, :class => "error help-inline") do
        object.errors[method].join(',')
      end
    end
  end
end