Could you style this so that the flash messages use the foundation alert style? See: http://foundation.zurb.com/docs/components/alert_boxes.html