Sha256: f28a9962ba60d735d470a93f958ccfcc77acc441896f51da2ba8b1129bb8efb3
Contents?: true
Size: 369 Bytes
Versions: 14
Compression:
Stored size: 369 Bytes
Contents
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| if html_tag.match("input") message = (error = instance.error_message).respond_to?(:join) ? error.join(",") : error %(<span class="error"> #{html_tag} <span class="help-inline"> #{message} </span> </span> ).html_safe else html_tag end end
Version data entries
14 entries across 14 versions & 1 rubygems