Added validation errors to the views.