<% if flash[:alert].present? || flash[:notice].present? %>
<% if flash[:alert].present? %> <% end %> <% if flash[:notice].present? %>

<%= flash[:notice] %>

<% end %>
<% end %>