add css for input and textarea when get error on new and edit page