<flash id="flash-messages">
  <% flash.each do |key, value| %>
    <% key = (key == 'alert') ? 'danger' : key %>
    <% key = (key == 'notice') ? 'info' : key %>
    <div class="alert alert-<%= key %>"><%= value %></div>
  <% end %>
</flash>

<flash id="flash-messages">
  <% flash.each do |key, value| %>
    <% key = (key == 'alert') ? 'danger' : key %>
    <% key = (key == 'notice') ? 'success' : key %>
    <div class="animated bounceInUp alert alert-<%= key %>"><%= value %></div>
  <% end %>
</flash>

Add styles and animation on flash message element
[Template] Add styles and animation on flash message element
