Sha256: e6367616e30ab0c517b9edaff81931a2dee03a881a200781c7476ae513171956
Contents?: true
Size: 243 Bytes
Versions: 1
Compression:
Stored size: 243 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchkeeper-0.6.7 | app/helpers/doorkeeper/form_errors_helper.rb |