7 lines
307 B
Text
7 lines
307 B
Text
// 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 #{name}"
|
|
= content_tag(:div, msg)
|
|
a href="#" class="close" ×
|