Map error flashes to the alert-danger class, and alert flashes to the warning class.
Add missing newline