replace error element to div and inside form-input container