<div class="flash_messages">
  <% [:success, :error, :danger].each do |type| %>
    <%- alert_class = (type == :error) ? :danger : type %>
    <% if flash[type] %>
      <div class="alert alert-<%=alert_class%>"><%= flash[type] %>
         <a class="close" data-dismiss="alert" href="#">&times;</a>
      </div>
    <% end %>
  <% end %>
</div>

Add flash message template back
Add flash message template back
