Fix validation errors
Add has-error class to some fields