<% if flash.any? %>
  <div id="flash">
    <% user_facing_flashes.each do |key, value| -%>
      <div class="flash-<%= key %>"><%= value %></div>
    <% end -%>
  </div>
<% end %>

<% if flash.any? %>
  <div class="flashes">
    <% user_facing_flashes.each do |key, value| -%>
      <div class="flash-<%= key %>"><%= value %></div>
    <% end -%>
  </div>
<% end %>

Swap flash id for a class
Swap flash id for a class

- Generally speaking, it’s best practice to style off class’s instead of id’s.
- The flash key is already being output as a class; this unifies the two.
