<% if notice || alert %>
<%= alert ? "error" : ""%>">
<% if notice %>

<%= notice %>

<% elsif alert %>

<%= alert %>

<% end %>
<% end %>