Fixed the way the error of edit is displayed in the edit form