Partial to display flash messages added.

This commit is contained in:
Christoph Haas 2015-04-26 01:43:04 +02:00
parent e8c4694ef0
commit 149b2c63f7

View file

@ -0,0 +1,7 @@
// Display alert messages to the user
// Supported names are success/warning/info/alert/secondary
// See http://foundation.zurb.com/docs/components/alert_boxes.html
- flash.each do |name, msg|
div data-alert=true class="alert-box round #{name}"
= content_tag(:div, msg)
a href="#" class="close" ×