Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 251 Bytes
<% flash.each do |name, msg| %>
<div class="alert alert-<%= name == :notice ? "success" : "error" %>">
<a class="close" data-dismiss="alert">×</a>
<%= content_tag :div, msg, :id => "flash_#{name}" if msg.is_a?(String) %>
</div>
<% end %>
Something went wrong with that request. Please try again.