<% if flash[:notice] %>
  <p class="flash-notice"><%= flash[:notice] %></p>
<% end %>
<% if flash[:error] %>
  <p class="flash-error"><%= flash[:error] %></p>
<% end %>

<% if flash[:notice] %>
  <p class="flash-notice"><%= flash[:notice] %></p>
<% end %>

Remove flash[:error] block from public messages template
Remove flash[:error] block from public messages template

The app doesn't generate flash[:error] messages for public consumption
so there's no need to have this code in the messages template.
