Yii will automatically display danger alert for that flash data.
But one project that orginally yii2 version 2.0.6, upgraded to 2.0.12 did not display the alert automatically. After upgrade to version 2.0.17 still same.
This is not much of a problem, but would be nice to know the reason.
Thanks.