<% flash.each do |name, msg| %>
  <%= content_tag :div, :class => "alert #{name == :alert ? "alert-error" : "alert-success" }" do %>
    <a class="close" data-dismiss="alert" href="#">×</a>
    <%= msg %>
  <% end %>
<% end %>


<% flash.each do |name, msg| %>
  <%= content_tag :div, :class => "alert #{name == :error ? "alert-error" : "alert-success" }" do %>
    <a class="close" data-dismiss="alert" href="#">×</a>
    <%= msg %>
  <% end %>
<% end %>


Fix flash color for error
Fix flash color for error
