Add wrapping with error class to form elements.