ClassyFieldErrors: Rails plugin providing clean HTML/CSS handling of erroneous form fields
The developers at XING just launched a tiny Rails plugin to replace the Rails default way of using a div to highlight input fields with errors by just using a css class: http://github.com/xing/classy_field_errors. A related blog post explains the problem and solution in more detail.
Comments
hmm, i think i would use this in some of my projects too as my html structure often breaks when errors are thrown.
formtastic looks to have a decent way of handling errors though but it’s possible that a combination of both these plugins will be the best solution thanks
Post a comment