replace css class "alert-error" with "alert-danger"
the former was deprecated in Bootstrap 3