I'd like to know how can I add .error class to input elements (to registration app) when the form validation fails.

Edit
Report