Added style to error messages in add page and edit page