Change type warn to warning according bootstrap3