<% if flash[:error] %>
<%= image_tag("notice.png", :srcset => image_path("notice.svg")) %>
<%= render_flash(flash[:error]) %>
<% end %> <% if flash[:warning] %>
<%= image_tag("notice.png", :srcset => image_path("notice.svg")) %>
<%= render_flash(flash[:warning]) %>
<% end %> <% if flash[:notice] %>
<%= image_tag("notice.png", :srcset => image_path("notice.svg")) %>
<%= render_flash(flash[:notice]) %>
<% end %>