Stuff
public text v1 · immutableActionView::Base.field_error_proc = Proc.new do |html, instance|
unless html =~ /type\s*=\s*['"]hidden['"]|<\s*label/
%{<div class="error-with-field">#{html} <small class="error">• #{[instance.error_message].flatten.first}</small></div>}
else
html
end
end