Sha256: 9f60ce4e25e9cf29c24d1c88062bb052bce7640d6d7b22d22ce928517e5ecfb3
Contents?: true
Size: 288 Bytes
Versions: 54
Compression:
Stored size: 288 Bytes
Contents
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| if html_tag =~ /\<label/ %(<div class="error">#{ html_tag }</div>) else %(<div class="error">#{ html_tag }<small class="error">#{ Array(instance.error_message).join(', ') }</small></div>) end.html_safe end
Version data entries
54 entries across 54 versions & 1 rubygems