<% flash.each do |type, message| %>
  <div class="alert alert-<%= type %>">
    <a class="close" href="#">×</a>
    <p><%= message %></p>
  </div>
<% end %>
<% flash.each do |type, message| %>
  <div class="alert alert-<%= type %> alert-block fade in flash-message">
    <a class="close" data-dismiss="alert" href="#">&times;</a>
    <p><%= message %></p>
  </div>
<% end %>
Add ability to close an alert
Add ability to close an alert
