model form builder: add error class to invalid fields
Merge remote-tracking branch 'origin/master'