Move alert_class inside the alert_classes helper