[views] use flash messages for details changing