<% if flash[:error] %>
<div class="flash error">
<picture>
- <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:error] %></div>
<% if flash[:warning] %>
<div class="flash warning">
<picture>
- <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:warning] %></div>
<% if flash[:notice] %>
<div class="flash notice">
<picture>
- <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
<%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
</picture>
<div class="message"><%= flash[:notice] %></div>
<h1>
<a href="<%= root_path %>" class="geolink">
<picture>
- <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml">
+ <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t('layouts.logo.alt_text'), :class => 'logo' %>
</picture>
<%= t 'layouts.project_name.h1' %>