% [:error, :warning, :success, :info, :notice, :alert].each do |message_type| %> <% if flash[message_type] %>
<%= flash[message_type] %>