using @roberto's flash message helper method for generating bootstrap class names