debshots/app/views/layouts/_messages.slim
Christoph Haas d866f17405 Removed "round" CSS class from alert boxes.
Round corner should only be used for action buttons.
2015-04-27 00:55:14 +02:00

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" ×