lib/generators/layout/templates/foundation4-messages.html.haml in rails_layout-0.5.3 vs lib/generators/layout/templates/foundation4-messages.html.haml in rails_layout-0.5.4
- old
+ new
@@ -1,5 +1,5 @@
--# Rails flash messages styled for Zurb Foundation 4
+-# Rails flash messages styled for Zurb Foundation
- flash.each do |name, msg|
- if msg.is_a?(String)
%div{:class => "alert-box round #{name == :notice ? "success" : "alert"}", "data-alert" => ""}
= content_tag :div, msg
%a.close{:href => "#"} ×